summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-10 00:33:37 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-10 00:33:37 (GMT)
commitff70fc220653d8999d69bd3f3b986a07afc81b64 (patch)
treeec3a8b95c09b001e3446304a7342767475ad5eaa /Lib
parent1319236167041f01c4efd4f7cc1400d2e4a18275 (diff)
parent8dcc48ee3b6447cd63038e63ee11de36f6d85a68 (diff)
downloadcpython-ff70fc220653d8999d69bd3f3b986a07afc81b64.zip
cpython-ff70fc220653d8999d69bd3f3b986a07afc81b64.tar.gz
cpython-ff70fc220653d8999d69bd3f3b986a07afc81b64.tar.bz2
Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_zipimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
index a2482d4..a7e680d 100644
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -615,7 +615,7 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase):
z.writestr(zinfo, test_src)
z.close()
try:
- zipimport.zipimporter(filename)
+ zipimport.zipimporter(filename).load_module(TESTMOD)
finally:
os.remove(filename)