Skip to content

Commit 2d83a67

Browse files
authored
Update zlib from 3.12.6 and _ZlibDecompressor implementation (RustPython#5476)
* add is_s390x and skip_on_s390x to test support * update zlib tests to 3.12 * _ZlibDecompressor implementation
1 parent b7a7b6b commit 2d83a67

File tree

4 files changed

+380
-57
lines changed

4 files changed

+380
-57
lines changed

Lib/test/support/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ def requires_legacy_unicode_capi():
532532

533533
has_fork_support = hasattr(os, "fork") and not is_emscripten and not is_wasi
534534

535+
# From python 3.12.6
536+
is_s390x = hasattr(os, 'uname') and os.uname().machine == 's390x'
537+
skip_on_s390x = unittest.skipIf(is_s390x, 'skipped on s390x')
538+
535539
def requires_fork():
536540
return unittest.skipUnless(has_fork_support, "requires working os.fork()")
537541

0 commit comments

Comments
 (0)