commit | 91900eaf96a55e7be0f6c445269c1a3a2a1e1b39 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Fri Apr 20 12:51:44 2012 -0400 |
committer | Brett Cannon <brett@python.org> | Fri Apr 20 12:51:44 2012 -0400 |
tree | e674d853c0f058c73a3a55a183661a52ef7a77d4 | |
parent | 63c39fe38e54c986a70dd9f97acf444837d1d244 [diff] |
Have importlib.test.regrtest clear sys.path_importer_cache to make sure finders from importlib are used instead of _frozen_importlib.
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 @@ if __name__ == '__main__': __builtins__.__import__ = importlib.__import__ + sys.path_importer_cache.clear() regrtest.main(quiet=True, verbose2=True)