From: Neal Norwitz Date: Fri, 24 Mar 2006 07:38:37 +0000 (+0000) Subject: Use *absolute* import now that it is required. (Should this go into 2.5? Hopefully... X-Git-Tag: v3.0a1~1465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3e54b848000e8cd2fc28ea29f3f8a0163aa075f;p=thirdparty%2FPython%2Fcpython.git Use *absolute* import now that it is required. (Should this go into 2.5? Hopefully not the bogus comment about using relative imports. That was just to see if anyone was paying attention.) --- diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py index f3f78e79dc37..bbca79886c8d 100644 --- a/Lib/test/test_dict.py +++ b/Lib/test/test_dict.py @@ -445,7 +445,7 @@ class DictTest(unittest.TestCase): self.fail_("g[42] didn't raise KeyError") -import mapping_tests +from test import mapping_tests class GeneralMappingTests(mapping_tests.BasicTestMappingProtocol): type2test = dict