]> granicus.if.org Git - python/commitdiff
Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.py
authorBrett Cannon <brett@python.org>
Fri, 8 Apr 2016 19:29:05 +0000 (12:29 -0700)
committerBrett Cannon <brett@python.org>
Fri, 8 Apr 2016 19:29:05 +0000 (12:29 -0700)
Lib/test/test_importlib/regrtest.py [deleted file]

diff --git a/Lib/test/test_importlib/regrtest.py b/Lib/test/test_importlib/regrtest.py
deleted file mode 100644 (file)
index 98c815c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-"""Run Python's standard test suite using importlib.__import__.
-
-Tests known to fail because of assumptions that importlib (properly)
-invalidates are automatically skipped if the entire test suite is run.
-Otherwise all command-line options valid for test.regrtest are also valid for
-this script.
-
-"""
-import importlib
-import sys
-from test import libregrtest
-
-if __name__ == '__main__':
-    __builtins__.__import__ = importlib.__import__
-    sys.path_importer_cache.clear()
-
-    libregrtest.main(quiet=True, verbose2=True)