[Python-checkins] r84099 - python/branches/py3k/Lib/test/test_import.py

florent.xicluna python-checkins at python.org
Mon Aug 16 21:03:05 CEST 2010


Author: florent.xicluna
Date: Mon Aug 16 21:03:05 2010
New Revision: 84099

Log:
I get it wrong in r84097: s/relative/absolute/

Modified:
   python/branches/py3k/Lib/test/test_import.py

Modified: python/branches/py3k/Lib/test/test_import.py
==============================================================================
--- python/branches/py3k/Lib/test/test_import.py	(original)
+++ python/branches/py3k/Lib/test/test_import.py	Mon Aug 16 21:03:05 2010
@@ -465,13 +465,14 @@
 
     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.


More information about the Python-checkins mailing list