Skip to content

Commit 1513e9f

Browse files
Fix @requires_zlib
1 parent a1b931f commit 1513e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/support/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ def dec(*args, **kwargs):
493493
float.__getformat__("double").startswith("IEEE"),
494494
"test requires IEEE 754 doubles")
495495

496-
def requires_zlib(reason):
497-
return unittest.skipIf(sys.platform == "wasi", "zlib is unsupported on WASI")
496+
def requires_zlib(reason='zlib is unsupported on WASI'):
497+
return unittest.skipIf(sys.platform == "wasi", reason)
498498

499499
def requires_gzip(reason='requires gzip'):
500500
try:

0 commit comments

Comments
 (0)