diff options
author | Petr Viktorin <encukou@gmail.com> | 2024-10-15 11:29:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 11:29:43 (GMT) |
commit | cc5a225cdc2a5d4e035dd08d59cef39182c10a6c (patch) | |
tree | c5507c048ba117ae1793b0719cc7739f4fcc4713 /Lib/test/support | |
parent | fcef3fc9a593e2aa868d23cf2d91c57d8bf60ac6 (diff) | |
download | cpython-cc5a225cdc2a5d4e035dd08d59cef39182c10a6c.zip cpython-cc5a225cdc2a5d4e035dd08d59cef39182c10a6c.tar.gz cpython-cc5a225cdc2a5d4e035dd08d59cef39182c10a6c.tar.bz2 |
gh-125041: test_zlib: For s390x HW acceleration, only skip checking the compressed bytes (#125042)
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index d768bea..f05be2b 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -2625,9 +2625,9 @@ def exceeds_recursion_limit(): return get_c_recursion_limit() * 3 -#Windows doesn't have os.uname() but it doesn't support s390x. -skip_on_s390x = unittest.skipIf(hasattr(os, 'uname') and os.uname().machine == 's390x', - 'skipped on s390x') +# Windows doesn't have os.uname() but it doesn't support s390x. +is_s390x = hasattr(os, 'uname') and os.uname().machine == 's390x' +skip_on_s390x = unittest.skipIf(is_s390x, 'skipped on s390x') Py_TRACE_REFS = hasattr(sys, 'getobjects') |