Issue #28115: ZIP creation test requires zlib.
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index fb3bbe4..0a43b20 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -2071,6 +2071,7 @@
                               PYTHONIOENCODING='ascii:backslashreplace')
         self.assertEqual(out, expected)
 
+    @requires_zlib
     def test_create_command(self):
         self.addCleanup(unlink, TESTFN)
         with open(TESTFN, 'w') as f: