diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-28 17:28:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 17:28:20 (GMT) |
commit | 1e48de61ac24442c44301c0529752a682cf4c59e (patch) | |
tree | e4514dc8b8f2c4afb7aa4f580ca78602ca50f85e /Lib/test | |
parent | 5a6318f2aab0a55a71a751a7de7e287b2082a8ae (diff) | |
download | cpython-1e48de61ac24442c44301c0529752a682cf4c59e.zip cpython-1e48de61ac24442c44301c0529752a682cf4c59e.tar.gz cpython-1e48de61ac24442c44301c0529752a682cf4c59e.tar.bz2 |
[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 6702d2bf6edcd5b5415e17837383623b9d76a5b8)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_decimal.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 7ce61fc..ea74f6c 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -37,7 +37,8 @@ from test.support import (is_resource_enabled, requires_legacy_unicode_capi, check_sanitizer) 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 @@ -5654,6 +5655,9 @@ class CWhitebox(unittest.TestCase): @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 |