Skip to content

Commit 1e48de6

Browse files
[3.12] gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (GH-117326) (#117327)
gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (GH-117326) (cherry picked from commit 6702d2b) Co-authored-by: Victor Stinner <[email protected]>
1 parent 5a6318f commit 1e48de6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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)