Skip to content

Commit 359e933

Browse files
committed
Mute test_trim_no_rule since numpy 2.2 raises validation error now
1 parent 7165c70 commit 359e933

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpnp/tests/test_manipulation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,9 @@ def test_overflow(self, a):
13941394
expected = numpy.trim_zeros(a)
13951395
assert_array_equal(result, expected)
13961396

1397+
# TODO: modify once SAT-7616
1398+
# numpy 2.2 validates trim rules
1399+
@testing.with_requires("numpy<2.2")
13971400
def test_trim_no_rule(self):
13981401
a = numpy.array([0, 0, 1, 0, 2, 3, 4, 0])
13991402
ia = dpnp.array(a)

0 commit comments

Comments
 (0)