Author: thomas.wouters
Date: Tue Apr 18 23:41:36 2006
New Revision: 45550

Modified:
   python/branches/p3yk/Lib/test/test_pkg.py
Log:

Use explicit relative import for an, ehm, relative import.



Modified: python/branches/p3yk/Lib/test/test_pkg.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_pkg.py   (original)
+++ python/branches/p3yk/Lib/test/test_pkg.py   Tue Apr 18 23:41:36 2006
@@ -146,7 +146,7 @@
     ("t5 __init__"+os.extsep+"py", "import t5.foo"),
     ("t5 string"+os.extsep+"py", "print __name__, 'loading'; spam = 1"),
     ("t5 foo"+os.extsep+"py",
-     "print __name__, 'loading'; import string; print string.spam"),
+     "print __name__, 'loading'; from . import string; print string.spam"),
      ],
 """
 import t5
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to