Skip to content

Commit 475e329

Browse files
committed
test: link numpy resize aliasing issue and trim comment
iOS numpy wheels updated to 2.5.0, so the xfail is a general numpy<2.4 + Python 3.14 guard rather than iOS-specific. Reference numpy/numpy#30265. Assisted-by: ClaudeCode:claude-opus-4.8
1 parent a07390a commit 475e329

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_numpy_array.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99

1010
np = pytest.importorskip("numpy")
1111

12-
# numpy < 2.4 has a resize(refcheck=True) regression on Python 3.14: it fails to
13-
# notice the reference held by the bound function, so a resize that should raise
14-
# instead succeeds. Only the iOS test environment is still pinned to such a numpy
15-
# (no newer iOS wheels exist yet).
12+
# numpy < 2.4 fails to detect aliasing in ndarray.resize on Python 3.14, so a
13+
# resize that should raise instead succeeds: numpy/numpy#30265 (fixed in 2.4.0).
1614
NUMPY_RESIZE_REFCHECK_BROKEN = sys.version_info >= (3, 14) and tuple(
1715
int(x) for x in np.__version__.split(".")[:2]
1816
) < (2, 4)

0 commit comments

Comments
 (0)