Skip to content

bpo-40029 mark test_importlib.test_zip as requiring zlib #19105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Lib/test/test_importlib/test_zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
)
from importlib.resources import path

from test.support import requires_zlib


@requires_zlib
class TestZip(unittest.TestCase):
root = 'test.test_importlib.data'

Expand Down Expand Up @@ -47,6 +50,7 @@ def test_files(self):
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
Expand Down