Commit 91900eaf authored by Brett Cannon's avatar Brett Cannon

Have importlib.test.regrtest clear sys.path_importer_cache to make

sure finders from importlib are used instead of _frozen_importlib.
parent 63c39fe3
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment