Skip to content

Commit 6702d2b

Browse files
authored
gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326)
1 parent c1712ef commit 6702d2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Lib/test/test_decimal.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
check_disallow_instantiation)
3939
from test.support import (TestFailed,
4040
run_with_locale, cpython_only,
41-
darwin_malloc_err_warning, is_emscripten)
41+
darwin_malloc_err_warning, is_emscripten,
42+
skip_on_s390x)
4243
from test.support.import_helper import import_fresh_module
4344
from test.support import threading_helper
4445
from test.support import warnings_helper
@@ -5650,6 +5651,9 @@ def __abs__(self):
56505651
@unittest.skipIf(check_sanitizer(address=True, memory=True),
56515652
"ASAN/MSAN sanitizer defaults to crashing "
56525653
"instead of returning NULL for malloc failure.")
5654+
# gh-114331: The test allocates 784 271 641 GiB and mimalloc does not fail
5655+
# to allocate it when using mimalloc on s390x.
5656+
@skip_on_s390x
56535657
def test_maxcontext_exact_arith(self):
56545658

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

0 commit comments

Comments
 (0)