Skip to content

Commit 1e68bee

Browse files
committed
skip tests for numpy<2.0
1 parent ad66c3a commit 1e68bee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_manipulation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ def test_zero_stat_length_invalid(self, mode):
805805
with pytest.raises(ValueError, match=match):
806806
dpnp.pad(a, 1, mode, stat_length=(1, 0))
807807

808+
@testing.with_requires("numpy>=2.0") # numpy<2 has a bug, numpy-gh-25963
808809
@pytest.mark.parametrize("pad_width", [2, 3, 4, [1, 10], [15, 2], [45, 10]])
809810
@pytest.mark.parametrize("mode", ["reflect", "symmetric"])
810811
@pytest.mark.parametrize("reflect_type", ["even", "odd"])

0 commit comments

Comments
 (0)