1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 20 Nov 2025 09:33:25 +0100
Subject: Skip test_arbitrary_number_of_ops_error on 32-bit architectures
Bug-Debian: https://bugs.debian.org/1121005
Bug: https://github.com/numpy/numpy/issues/30257#issuecomment-3552332646
Forwarded: yes
---
numpy/_core/tests/test_nditer.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/numpy/_core/tests/test_nditer.py b/numpy/_core/tests/test_nditer.py
index ec28e48..e0b3265 100644
--- a/numpy/_core/tests/test_nditer.py
+++ b/numpy/_core/tests/test_nditer.py
@@ -10,6 +10,7 @@ import numpy._core.umath as ncu
from numpy import all, arange, array, nditer
from numpy.testing import (
HAS_REFCOUNT,
+ IS_64BIT,
IS_WASM,
assert_,
assert_array_equal,
@@ -3404,6 +3405,7 @@ def test_arbitrary_number_of_ops_nested():
@pytest.mark.slow
+@pytest.mark.skipif(not IS_64BIT, reason="test requires 64-bit system")
@requires_memory(9 * np.iinfo(np.intc).max)
def test_arbitrary_number_of_ops_error():
# A different error may happen for more than integer operands, but that
|