mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
merge 3.3
This commit is contained in:
commit
f617fa88de
2 changed files with 8 additions and 6 deletions
|
@ -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__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue