From 16b2e6bd7f1acc0ef7b5610acab71d639e5f193f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 19 Mar 2008 06:00:28 +0000 Subject: [PATCH] Import relimport using a relative import. --- Lib/test/test_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index dfaad2916e6..ad6de5e3c72 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -263,7 +263,7 @@ class RelativeImport(unittest.TestCase): def test_relimport_star(self): # This will import * from .test_import. - import relimport + from . import relimport self.assertTrue(hasattr(relimport, "RelativeImport")) def test_main(verbose=None):