From cf5901c381a5a7307e329efc7da8c471c7c4ea78 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 11 May 2026 17:49:50 -0700 Subject: [PATCH] Tune tolerance in matvec test --- dpnp/tests/test_product.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dpnp/tests/test_product.py b/dpnp/tests/test_product.py index 3ac324b055e8..3f4a56acfabe 100644 --- a/dpnp/tests/test_product.py +++ b/dpnp/tests/test_product.py @@ -1533,7 +1533,9 @@ def test_axes(self, axes): result = dpnp.matvec(ia, ib, axes=axes) expected = numpy.matvec(a, b, axes=axes) - assert_dtype_allclose(result, expected) + + # TODO: check if failing with newer NumPy + assert_dtype_allclose(result, expected, factor=40) @pytest.mark.parametrize("xp", [numpy, dpnp]) def test_error(self, xp):