merge 3.3

This commit is contained in:
Benjamin Peterson 2014-02-16 14:53:55 -05:00
commit f617fa88de
2 changed files with 8 additions and 6 deletions

View file

@ -349,6 +349,11 @@ class ImportlibMigrationTests(unittest.TestCase):
def test_main():
run_unittest(PkgutilTests, PkgutilPEP302Tests, ExtendPathTests,
NestedNamespacePackageTest, ImportlibMigrationTests)
# this is necessary if test is run repeated (like when finding leaks)
import zipimport
import importlib
zipimport._zip_directory_cache.clear()
importlib.invalidate_caches()
if __name__ == '__main__':