]> granicus.if.org Git - python/commitdiff
Stop shadowing a test class.
authorBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 14:45:19 +0000 (14:45 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 14:45:19 +0000 (14:45 +0000)
Lib/test/test_import.py

index be82b2223be6e34a43f709970f290a93c2e24edf..447c17fb61135beca7bab1930f9b212eb4a693be 100644 (file)
@@ -635,7 +635,7 @@ class PycacheTests(unittest.TestCase):
                          os.path.join(os.curdir, foo_pyc))
 
 
-class RelativeImportTests(test_relative_imports.RelativeImports):
+class RelativeImportFromImportlibTests(test_relative_imports.RelativeImports):
 
     def setUp(self):
         self._importlib_util_flag = importlib_util.using___import__
@@ -649,7 +649,7 @@ def test_main(verbose=None):
     run_unittest(ImportTests, PycacheTests,
                  PycRewritingTests, PathsTests, RelativeImportTests,
                  OverridingImportBuiltinTests,
-                 RelativeImportTests)
+                 RelativeImportFromImportlibTests)
 
 
 if __name__ == '__main__':