commit | 5503579db68f22e0ddca030f2aa5cd48373e08c0 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Feb 16 14:51:17 2014 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Feb 16 14:51:17 2014 -0500 |
tree | e87416f4bac5ff7a62a00739d4a0252bb571e866 | |
parent | f387e967686b02e9ece1d5f78478ef8963c56cae [diff] [blame] |
backout 369bf9fbaeff
diff --git a/Lib/test/test_pkgutil.py b/Lib/test/test_pkgutil.py index 382474d..f665e96 100644 --- a/Lib/test/test_pkgutil.py +++ b/Lib/test/test_pkgutil.py
@@ -133,7 +133,9 @@ def test_main(): run_unittest(PkgutilTests, PkgutilPEP302Tests) - + # this is necessary if test is run repeated (like when finding leaks) + import zipimport + zipimport._zip_directory_cache.clear() if __name__ == '__main__': test_main()