diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-10 00:27:33 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-10 00:27:33 (GMT) |
commit | 8dcc48ee3b6447cd63038e63ee11de36f6d85a68 (patch) | |
tree | 263c7533f46fd87624671678ebb5bffce4501753 /Lib | |
parent | 347dc95cd3b2d5d00a6d1a378084d87d32a47ab0 (diff) | |
download | cpython-8dcc48ee3b6447cd63038e63ee11de36f6d85a68.zip cpython-8dcc48ee3b6447cd63038e63ee11de36f6d85a68.tar.gz cpython-8dcc48ee3b6447cd63038e63ee11de36f6d85a68.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py index 8e5e12d..2bb7230 100644 --- a/Lib/test/test_zipimport.py +++ b/Lib/test/test_zipimport.py @@ -596,7 +596,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) |