diff options
-rw-r--r-- | Lib/test/test_import.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index bbf21ceb8f..60346ab9fc 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -417,8 +417,8 @@ class RelativeImport(unittest.TestCase): self.assertRaises(ValueError, check_relative) def test_absolute_import_without_future(self): - # If absolute import syntax is used, then do not try to perform - # a relative import in the face of failure. + # If explicit relative import syntax is used, then do not try + # to perform an absolute import in the face of failure. # Issue #7902. try: from .os import sep @@ -426,7 +426,7 @@ class RelativeImport(unittest.TestCase): pass else: self.fail("explicit relative import triggered an " - "implicit relative import") + "implicit absolute import") def test_main(verbose=None): |