[Python-checkins] cpython: Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.py
brett.cannon
python-checkins at python.org
Fri Apr 8 15:29:10 EDT 2016
https://hg.python.org/cpython/rev/d214b30e8ef0
changeset: 100874:d214b30e8ef0
user: Brett Cannon <brett at python.org>
date: Fri Apr 08 12:29:05 2016 -0700
summary:
Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.py
files:
Lib/test/test_importlib/regrtest.py | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/Lib/test/test_importlib/regrtest.py b/Lib/test/test_importlib/regrtest.py
deleted file mode 100644
--- a/Lib/test/test_importlib/regrtest.py
+++ /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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list