[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #28115: ZIP creation test requires zlib.

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


https://hg.python.org/cpython/rev/5b779441d03e
changeset:   104666:5b779441d03e
branch:      3.6
parent:      104662:e93149fee04d
parent:      104665:7701e9cb8712
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Oct 23 22:32:48 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
@@ -2071,6 +2071,7 @@
                               PYTHONIOENCODING='ascii:backslashreplace')
         self.assertEqual(out, expected)
 
+    @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