diff options
| author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-08-16 19:03:05 (GMT) |
|---|---|---|
| committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-08-16 19:03:05 (GMT) |
| commit | c9c29e2ab2077eb3cffdeac1b4b178922bd469ed (patch) | |
| tree | d1dd761b772d3203a4ca60cd468e88b555a08660 /Lib/test/test_import.py | |
| parent | e29e6bffb577233c0e327f831c037ebf92da0157 (diff) | |
| download | cpython-c9c29e2ab2077eb3cffdeac1b4b178922bd469ed.zip cpython-c9c29e2ab2077eb3cffdeac1b4b178922bd469ed.tar.gz cpython-c9c29e2ab2077eb3cffdeac1b4b178922bd469ed.tar.bz2 | |
I get it wrong in r84097: s/relative/absolute/
Diffstat (limited to 'Lib/test/test_import.py')
| -rw-r--r-- | Lib/test/test_import.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 047871b..1d6939b 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -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. |
