Issue #28115: ZIP creation test requires zlib.

This commit is contained in:
Serhiy Storchaka 2016-10-23 22:32:30 +03:00
parent 666de77727
commit b4293efd93
1 changed files with 1 additions and 0 deletions

View 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: