Kaydet (Commit) abcd5d5f authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #28115: ZIP creation test requires zlib.

üst ef5c24a7
...@@ -1799,6 +1799,7 @@ class CommandLineTest(unittest.TestCase): ...@@ -1799,6 +1799,7 @@ class CommandLineTest(unittest.TestCase):
PYTHONIOENCODING='ascii:backslashreplace') PYTHONIOENCODING='ascii:backslashreplace')
self.assertEqual(out, expected) self.assertEqual(out, expected)
@skipUnless(zlib, "requires zlib")
def test_create_command(self): def test_create_command(self):
self.addCleanup(unlink, TESTFN) self.addCleanup(unlink, TESTFN)
with open(TESTFN, 'w') as f: with open(TESTFN, 'w') as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment