]> granicus.if.org Git - python/commitdiff
I get it wrong in r84097: s/relative/absolute/
authorFlorent Xicluna <florent.xicluna@gmail.com>
Mon, 16 Aug 2010 19:03:05 +0000 (19:03 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Mon, 16 Aug 2010 19:03:05 +0000 (19:03 +0000)
Lib/test/test_import.py

index 047871b9fe550bb81a041fe5ccfe015b650e6710..1d6939bbcb4d3e6a759d7223ba7c4edd69bedcdd 100644 (file)
@@ -465,13 +465,14 @@ class RelativeImportTests(unittest.TestCase):
 
     def test_absolute_import_without_future(self):
         # If explicit relative import syntax is used, then do not try
-        # to perform a relative import in the face of failure.
+        # to perform an absolute import in the face of failure.
         # Issue #7902.
         with self.assertRaises(ImportError):
             from .os import sep
             self.fail("explicit relative import triggered an "
                       "implicit absolute import")
 
+
 class OverridingImportBuiltinTests(unittest.TestCase):
     def test_override_builtin(self):
         # Test that overriding builtins.__import__ can bypass sys.modules.