]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28115: ZIP creation test requires zlib.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)
Lib/test/test_zipfile.py

index 6c6bf8d5b1881f95acf7abf140be6f3ad72585fa..0dd4bcafdd59030f9b488aa1049b1094aba00a8d 100644 (file)
@@ -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: