summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkgutil.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-01-09 17:12:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-01-09 17:12:31 (GMT)
commita118c4fa7909c62e7aee1e25e02bc4172683772e (patch)
tree1ae8dc52eda240932a0bccd85a496419b6c28816 /Lib/test/test_pkgutil.py
parent7282ff6d5b56825e74c0715aea86e927d2fd339f (diff)
parent50b82c765f82c45ee317380a5f5f85e23e7fef36 (diff)
downloadcpython-a118c4fa7909c62e7aee1e25e02bc4172683772e.zip
cpython-a118c4fa7909c62e7aee1e25e02bc4172683772e.tar.gz
cpython-a118c4fa7909c62e7aee1e25e02bc4172683772e.tar.bz2
merge 3.3
Diffstat (limited to 'Lib/test/test_pkgutil.py')
-rw-r--r--Lib/test/test_pkgutil.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_pkgutil.py b/Lib/test/test_pkgutil.py
index aaa9d8d..7a1cd41 100644
--- a/Lib/test/test_pkgutil.py
+++ b/Lib/test/test_pkgutil.py
@@ -349,11 +349,6 @@ 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__':