summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 19:33:12 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 19:33:12 (GMT)
commiteb569e47754d8818f191a84db79ffc2cf1737fa7 (patch)
tree76a5230394b8b0d9ae19b4edf4ae3ba7671dc454
parent39891fff32eabf79c02073ad0203df20b3f5b908 (diff)
parent89850314761cc755393ddac35989113f07681de0 (diff)
downloadcpython-eb569e47754d8818f191a84db79ffc2cf1737fa7.zip
cpython-eb569e47754d8818f191a84db79ffc2cf1737fa7.tar.gz
cpython-eb569e47754d8818f191a84db79ffc2cf1737fa7.tar.bz2
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 09563d0..0a19d76 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -2073,6 +2073,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: