Issue #8745: Small speed up zipimport on Windows. Patch by Catalin Iacob.
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
index 9c3f6d4..a60d3e0 100644
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -196,6 +196,7 @@
for name, (mtime, data) in files.items():
zinfo = ZipInfo(name, time.localtime(mtime))
zinfo.compress_type = self.compression
+ zinfo.comment = b"spam"
z.writestr(zinfo, data)
z.close()
@@ -245,6 +246,7 @@
for name, (mtime, data) in files.items():
zinfo = ZipInfo(name, time.localtime(mtime))
zinfo.compress_type = self.compression
+ zinfo.comment = b"eggs"
z.writestr(zinfo, data)
z.close()