Mailing List Archive

gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326)
https://github.com/python/cpython/commit/6702d2bf6edcd5b5415e17837383623b9d76a5b8
commit: 6702d2bf6edcd5b5415e17837383623b9d76a5b8
branch: main
author: Victor Stinner <vstinner@python.org>
committer: vstinner <vstinner@python.org>
date: 2024-03-28T16:40:58Z
summary:

gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326)

files:
M Lib/test/test_decimal.py

diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index f23ea8af0c8772..05dcb25a7e5950 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -38,7 +38,8 @@
check_disallow_instantiation)
from test.support import (TestFailed,
run_with_locale, cpython_only,
- darwin_malloc_err_warning, is_emscripten)
+ darwin_malloc_err_warning, is_emscripten,
+ skip_on_s390x)
from test.support.import_helper import import_fresh_module
from test.support import threading_helper
from test.support import warnings_helper
@@ -5650,6 +5651,9 @@ def __abs__(self):
@unittest.skipIf(check_sanitizer(address=True, memory=True),
"ASAN/MSAN sanitizer defaults to crashing "
"instead of returning NULL for malloc failure.")
+ # gh-114331: The test allocates 784 271 641 GiB and mimalloc does not fail
+ # to allocate it when using mimalloc on s390x.
+ @skip_on_s390x
def test_maxcontext_exact_arith(self):

# Make sure that exact operations do not raise MemoryError due

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-leave@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: list-python-checkins@lists.gossamer-threads.com