From a32df5654bcc13034ce6f1e9cff6148285830643 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 12 Feb 2026 04:22:21 -0800 Subject: [PATCH] Update TestTrimZeros::test_multiple_axes to pass on device without fp64 --- dpnp/tests/test_manipulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpnp/tests/test_manipulation.py b/dpnp/tests/test_manipulation.py index 82e4640830a..8ddba08dbb9 100644 --- a/dpnp/tests/test_manipulation.py +++ b/dpnp/tests/test_manipulation.py @@ -1541,7 +1541,7 @@ def test_multiple_axes(self, shape, axis, trim): result = dpnp.trim_zeros(ia, axis=axis, trim=trim) expected = numpy.trim_zeros(a, axis=axis, trim=trim) - assert_array_equal(result, expected) + assert_dtype_allclose(result, expected) # NOTE: numpy behaves differently on 0-sized input array # and returns the input array with reduced shapes