ยปCore Development>Code coverage>Lib/test/test_importlib/regrtest.py

Python code coverage for Lib/test/test_importlib/regrtest.py

#countcontent
1n/a"""Run Python's standard test suite using importlib.__import__.
2n/a
3n/aTests known to fail because of assumptions that importlib (properly)
4n/ainvalidates are automatically skipped if the entire test suite is run.
5n/aOtherwise all command-line options valid for test.regrtest are also valid for
6n/athis script.
7n/a
8n/a"""
9n/aimport importlib
10n/aimport sys
11n/afrom test import regrtest
12n/a
13n/aif __name__ == '__main__':
14n/a __builtins__.__import__ = importlib.__import__
15n/a sys.path_importer_cache.clear()
16n/a
17n/a regrtest.main(quiet=True, verbose2=True)