Issue #28115: ZIP creation test requires zlib.

This commit is contained in:
Serhiy Storchaka 2016-10-23 22:32:48 +03:00
commit 8985031476
1 changed files with 1 additions and 0 deletions

View File

@ -2071,6 +2071,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: