Stop shadowing a test class.

This commit is contained in:
Brett Cannon 2010-07-23 14:45:19 +00:00
parent 1f27479e26
commit 42e54b29b9
1 changed files with 2 additions and 2 deletions

View File

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