From: Serhiy Storchaka Date: Sun, 23 Oct 2016 19:32:18 +0000 (+0300) Subject: Issue #28115: ZIP creation test requires zlib. X-Git-Tag: v2.7.13rc1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abcd5d5fbd7810e1109d37c63ec295b505595155;p=thirdparty%2FPython%2Fcpython.git Issue #28115: ZIP creation test requires zlib. --- diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index 783f9e25a29c..9c63aebbbe0e 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -1799,6 +1799,7 @@ class CommandLineTest(unittest.TestCase): 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: