Skip to content

Commit 74a9df2

Browse files
vstinnermiss-islington
authored andcommitted
pythongh-114331: Skip decimal test_maxcontext_exact_arith on s390x (pythonGH-117326)
(cherry picked from commit 6702d2b) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent c703b7b commit 74a9df2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lib/test/test_decimal.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
requires_legacy_unicode_capi, check_sanitizer)
3838
from test.support import (TestFailed,
3939
run_with_locale, cpython_only,
40-
darwin_malloc_err_warning, is_emscripten)
40+
darwin_malloc_err_warning, is_emscripten,
41+
skip_on_s390x)
4142
from test.support.import_helper import import_fresh_module
4243
from test.support import threading_helper
4344
from test.support import warnings_helper
@@ -5654,6 +5655,9 @@ def __abs__(self):
56545655
@unittest.skipIf(check_sanitizer(address=True, memory=True),
56555656
"ASAN/MSAN sanitizer defaults to crashing "
56565657
"instead of returning NULL for malloc failure.")
5658+
# gh-114331: The test allocates 784 271 641 GiB and mimalloc does not fail
5659+
# to allocate it when using mimalloc on s390x.
5660+
@skip_on_s390x
56575661
def test_maxcontext_exact_arith(self):
56585662

56595663
# Make sure that exact operations do not raise MemoryError due

0 commit comments

Comments
 (0)