From 871b8a2dafa7953420eff115d498d46f70e4a248 Mon Sep 17 00:00:00 2001 From: Vladislav Perevezentsev Date: Mon, 20 Jan 2025 02:58:22 -0800 Subject: [PATCH] Use assert_allclose() in test_qr_large --- dpnp/tests/test_linalg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dpnp/tests/test_linalg.py b/dpnp/tests/test_linalg.py index 1087e7386a7..222f22e6e7d 100644 --- a/dpnp/tests/test_linalg.py +++ b/dpnp/tests/test_linalg.py @@ -2430,9 +2430,9 @@ def test_qr_large(self, dtype, shape, mode): decimal=5, ) else: # mode=="raw" - assert_dtype_allclose(dpnp_q, np_q, factor=12) + assert_allclose(np_q, dpnp_q, atol=1e-4) if mode in ("raw", "r"): - assert_dtype_allclose(dpnp_r, np_r, factor=12) + assert_allclose(np_r, dpnp_r, atol=1e-4) @pytest.mark.parametrize("dtype", get_all_dtypes(no_bool=True)) @pytest.mark.parametrize(