Stop shadowing a test class.
This commit is contained in:
parent
1f27479e26
commit
42e54b29b9
|
@ -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__':
|
||||||
|
|
Loading…
Reference in New Issue