summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_importlib/test_zip.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_zip.py b/Lib/test/test_importlib/test_zip.py
index 9568c22..9466ca4 100644
--- a/Lib/test/test_importlib/test_zip.py
+++ b/Lib/test/test_importlib/test_zip.py
@@ -7,7 +7,10 @@ from importlib.metadata import (
)
from importlib.resources import path
+from test.support import requires_zlib
+
+@requires_zlib
class TestZip(unittest.TestCase):
root = 'test.test_importlib.data'
@@ -47,6 +50,7 @@ class TestZip(unittest.TestCase):
assert '.whl/' in path, path
+@requires_zlib
class TestEgg(TestZip):
def setUp(self):
# Find the path to the example-*.egg so we can add it to the front of