From: Neal Norwitz Date: Fri, 24 Mar 2006 07:35:29 +0000 (+0000) Subject: Use relative import now that it is required. (Should this go into 2.5?) X-Git-Tag: v3.0a1~1466 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16d651042510e2014dfd552d1c67edf61b1cb99b;p=python Use relative import now that it is required. (Should this go into 2.5?) --- diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 72f27fad90..a72b8bd072 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -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",