From a41c3b166f5c5c8dd79f2793c62a2f28f8f8caed Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 15 Jun 2026 16:09:03 +0200 Subject: [PATCH] Rever changes in the tests done in gh-2912 --- dpnp/tests/test_product.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dpnp/tests/test_product.py b/dpnp/tests/test_product.py index ebf9b640d8c..dd6102db3d2 100644 --- a/dpnp/tests/test_product.py +++ b/dpnp/tests/test_product.py @@ -878,9 +878,7 @@ def test_order(self, dtype, order1, order2, order, shape1, shape2): ids=["-2", "2", "(-2, 2)", "(2, -2)"], ) def test_strided1(self, dtype, stride): - # TODO: enable back when the root cause is identified - # for dim in [1, 2, 3, 4]: - for dim in [1, 2, 3]: + for dim in [1, 2, 3, 4]: shape = tuple(20 for _ in range(dim)) A = generate_random_numpy_array(shape, dtype) iA = dpnp.array(A) @@ -1535,9 +1533,7 @@ def test_axes(self, axes): result = dpnp.matvec(ia, ib, axes=axes) expected = numpy.matvec(a, b, axes=axes) - - # TODO: check if failing with newer NumPy - assert_dtype_allclose(result, expected, factor=40) + assert_dtype_allclose(result, expected) @pytest.mark.parametrize("xp", [numpy, dpnp]) def test_error(self, xp):