summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 19:32:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 19:32:30 (GMT)
commitb4293efd930b37dbafcedc8ff937903dc7a26c44 (patch)
tree45fdb9ee623456f926c216d26ce3b5652e421265 /Lib/test/test_zipfile.py
parent666de7772708047b63125126b0147931571254a4 (diff)
downloadcpython-b4293efd930b37dbafcedc8ff937903dc7a26c44.zip
cpython-b4293efd930b37dbafcedc8ff937903dc7a26c44.tar.gz
cpython-b4293efd930b37dbafcedc8ff937903dc7a26c44.tar.bz2
Issue #28115: ZIP creation test requires zlib.
Diffstat (limited to 'Lib/test/test_zipfile.py')
-rw-r--r--Lib/test/test_zipfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index 6c6bf8d..0dd4bca 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -2145,6 +2145,7 @@ class CommandLineTest(unittest.TestCase):
PYTHONIOENCODING='ascii:backslashreplace')
self.assertEqual(out, expected)
+ @requires_zlib
def test_create_command(self):
self.addCleanup(unlink, TESTFN)
with open(TESTFN, 'w') as f: