summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 22:32:48 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 22:32:48 +0300
commit89850314761cc755393ddac35989113f07681de0 (patch)
tree48929585ded2a3b3060da069db617edc69dc1d6d
parent7fc92bb38a47f7da044847f8112e17201abf79bd (diff)
parentb4293efd930b37dbafcedc8ff937903dc7a26c44 (diff)
downloadcpython-git-89850314761cc755393ddac35989113f07681de0.tar.gz
Issue #28115: ZIP creation test requires zlib.
-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 fb3bbe4517..0a43b20e2b 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -2071,6 +2071,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: