From ad340fb768b92ff6b6d2a4409f9997f421342795 Mon Sep 17 00:00:00 2001 From: Vladislav Perevezentsev Date: Fri, 6 Dec 2024 07:35:07 -0800 Subject: [PATCH] Remove TestCond::test_cond_nan_input --- dpnp/tests/test_linalg.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dpnp/tests/test_linalg.py b/dpnp/tests/test_linalg.py index a0ce71b82081..43a2230177d4 100644 --- a/dpnp/tests/test_linalg.py +++ b/dpnp/tests/test_linalg.py @@ -367,20 +367,6 @@ def test_cond_complex(self, dtype, shape, p): expected = numpy.linalg.cond(a, p=p) assert_dtype_allclose(result, expected) - @pytest.mark.parametrize( - "p", - [-inp.inf, -1, 1, inp.inf, "fro"], - ids=["-dpnp.inf", "-1", "1", "dpnp.inf", "fro"], - ) - def test_cond_nan_input(self, p): - a = numpy.array(numpy.random.uniform(-10, 10, 9)).reshape(3, 3) - a[1, 1] = numpy.nan - ia = inp.array(a) - - result = inp.linalg.cond(ia, p=p) - expected = numpy.linalg.cond(a, p=p) - assert_dtype_allclose(result, expected) - @pytest.mark.parametrize( "p", [None, -inp.inf, -2, -1, 1, 2, inp.inf, "fro"],