]> granicus.if.org Git - python/commitdiff
Use relative import now that it is required. (Should this go into 2.5?)
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Mar 2006 07:35:29 +0000 (07:35 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Mar 2006 07:35:29 +0000 (07:35 +0000)
Lib/test/test_import.py

index 72f27fad90a3a89c739b97437d0ac29b9df09e61..a72b8bd072d8d7141e8c47c1d4c4db7302d8f843 100644 (file)
@@ -15,7 +15,7 @@ else:
     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",