Issue #28115: ZIP creation test requires zlib.

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

View File

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