diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-28 10:46:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 10:46:16 (GMT) |
commit | 442f5ec042a2d18eaaa49346d9c86bba6389958d (patch) | |
tree | 585f9eab77be30eeab56cecc52d8911d643d88b6 /Python/sysmodule.c | |
parent | 56e39192c8e78ef498aa60a9fd5eb15b2c7338e1 (diff) | |
download | cpython-442f5ec042a2d18eaaa49346d9c86bba6389958d.zip cpython-442f5ec042a2d18eaaa49346d9c86bba6389958d.tar.gz cpython-442f5ec042a2d18eaaa49346d9c86bba6389958d.tar.bz2 |
[3.12] GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (GH-106167) (#106170)
GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (GH-106167)
Fix test_gzip's failure under WASI, which does not have zlib, by using
test.support.import_helper.import_module to import zlib. (gzip
unconditionally imports zlib, so this does not cause any new skips.)
(cherry picked from commit 161012fc25910a47423bae8012398bf519a88140)
Co-authored-by: T. Wouters <thomas@python.org>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions