We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191e993 commit a1718bcCopy full SHA for a1718bc
1 file changed
Lib/test/test_zipapp.py
@@ -8,6 +8,7 @@
8
import unittest
9
import zipapp
10
import zipfile
11
+from test.support import requires_zlib
12
13
from unittest.mock import patch
14
@@ -100,6 +101,7 @@ def test_create_archive_default_target(self):
100
101
expected_target = self.tmpdir / 'source.pyz'
102
self.assertTrue(expected_target.is_file())
103
104
+ @requires_zlib
105
def test_create_archive_with_compression(self):
106
# Test packing a directory into a compressed archive.
107
source = self.tmpdir / 'source'
0 commit comments