[Python-3000-checkins] r43278 - python/branches/p3yk/Lib/test/test_import.py

neal.norwitz python-3000-checkins at python.org
Fri Mar 24 08:35:30 CET 2006


Author: neal.norwitz
Date: Fri Mar 24 08:35:29 2006
New Revision: 43278

Modified:
   python/branches/p3yk/Lib/test/test_import.py
Log:
Use relative import now that it is required.  (Should this go into 2.5?)

Modified: python/branches/p3yk/Lib/test/test_import.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_import.py	(original)
+++ python/branches/p3yk/Lib/test/test_import.py	Fri Mar 24 08:35:29 2006
@@ -15,7 +15,7 @@
     raise TestFailed("import of RAnDoM should have failed (case mismatch)")
 
 # Another brief digression to test the accuracy of manifest float constants.
-import double_const  # don't blink -- that *was* the test
+from test import double_const  # don't blink -- that *was* the test
 
 def remove_files(name):
     for f in (name + os.extsep + "py",


More information about the Python-3000-checkins mailing list