Skip to content

Commit a32df56

Browse files
committed
Update TestTrimZeros::test_multiple_axes to pass on device without fp64
1 parent af6205f commit a32df56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/tests/test_manipulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ def test_multiple_axes(self, shape, axis, trim):
15411541

15421542
result = dpnp.trim_zeros(ia, axis=axis, trim=trim)
15431543
expected = numpy.trim_zeros(a, axis=axis, trim=trim)
1544-
assert_array_equal(result, expected)
1544+
assert_dtype_allclose(result, expected)
15451545

15461546
# NOTE: numpy behaves differently on 0-sized input array
15471547
# and returns the input array with reduced shapes

0 commit comments

Comments
 (0)