[Python-checkins] cpython (2.7): Issue #28115: ZIP creation test requires zlib.

serhiy.storchaka python-checkins at python.org
Sun Oct 23 15:34:03 EDT 2016


https://hg.python.org/cpython/rev/7f01d9d471e5
changeset:   104664:7f01d9d471e5
branch:      2.7
parent:      104660:847537b7924c
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Oct 23 22:32:18 2016 +0300
summary:
  Issue #28115: ZIP creation test requires zlib.

files:
  Lib/test/test_zipfile.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -1799,6 +1799,7 @@
                               PYTHONIOENCODING='ascii:backslashreplace')
         self.assertEqual(out, expected)
 
+    @skipUnless(zlib, "requires zlib")
     def test_create_command(self):
         self.addCleanup(unlink, TESTFN)
         with open(TESTFN, 'w') as f:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list