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

Issue #28115: ZIP creation test requires zlib.

üst 666de777
...@@ -2145,6 +2145,7 @@ class CommandLineTest(unittest.TestCase): ...@@ -2145,6 +2145,7 @@ class CommandLineTest(unittest.TestCase):
PYTHONIOENCODING='ascii:backslashreplace') PYTHONIOENCODING='ascii:backslashreplace')
self.assertEqual(out, expected) self.assertEqual(out, expected)
@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