diff options
author | Brett Cannon <brett@python.org> | 2012-04-20 16:51:44 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-20 16:51:44 (GMT) |
commit | 91900eaf96a55e7be0f6c445269c1a3a2a1e1b39 (patch) | |
tree | e674d853c0f058c73a3a55a183661a52ef7a77d4 | |
parent | 63c39fe38e54c986a70dd9f97acf444837d1d244 (diff) | |
download | cpython-91900eaf96a55e7be0f6c445269c1a3a2a1e1b39.zip cpython-91900eaf96a55e7be0f6c445269c1a3a2a1e1b39.tar.gz cpython-91900eaf96a55e7be0f6c445269c1a3a2a1e1b39.tar.bz2 |
Have importlib.test.regrtest clear sys.path_importer_cache to make
sure finders from importlib are used instead of _frozen_importlib.
-rw-r--r-- | Lib/importlib/test/regrtest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/importlib/test/regrtest.py b/Lib/importlib/test/regrtest.py index 9cc9ee7..a5be11f 100644 --- a/Lib/importlib/test/regrtest.py +++ b/Lib/importlib/test/regrtest.py @@ -12,5 +12,6 @@ from test import regrtest if __name__ == '__main__': __builtins__.__import__ = importlib.__import__ + sys.path_importer_cache.clear() regrtest.main(quiet=True, verbose2=True) |