[pypy-svn] r23871 - pypy/dist/pypy/rpython/rctypes/test

goden at codespeak.net goden at codespeak.net
Wed Mar 1 23:23:09 CET 2006


Author: goden
Date: Wed Mar  1 23:23:01 2006
New Revision: 23871

Modified:
   pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py
Log:
- added a note about why the full path is necessary for the _rctypes_test
  import



Modified: pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py	Wed Mar  1 23:23:01 2006
@@ -274,6 +274,9 @@
 class Test_structure:
 
     def test_simple_as_extension_module(self):
+        # Full path names follow because of strange behavior in the presence
+        # of an __init__.py in this test directory.  When there is an
+        # __init__.py then the full path names appear in sys.modules
         import pypy.rpython.rctypes.test._rctypes_test as t0
         import pypy.rpython.rctypes.test._rctypes_test as t1
         assert t1 is t0



More information about the Pypy-commit mailing list