Skip to content

Commit 71ca9b5

Browse files
Merge ad340fb into 4875e59
2 parents 4875e59 + ad340fb commit 71ca9b5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

dpnp/tests/test_linalg.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -367,20 +367,6 @@ def test_cond_complex(self, dtype, shape, p):
367367
expected = numpy.linalg.cond(a, p=p)
368368
assert_dtype_allclose(result, expected)
369369

370-
@pytest.mark.parametrize(
371-
"p",
372-
[-inp.inf, -1, 1, inp.inf, "fro"],
373-
ids=["-dpnp.inf", "-1", "1", "dpnp.inf", "fro"],
374-
)
375-
def test_cond_nan_input(self, p):
376-
a = numpy.array(numpy.random.uniform(-10, 10, 9)).reshape(3, 3)
377-
a[1, 1] = numpy.nan
378-
ia = inp.array(a)
379-
380-
result = inp.linalg.cond(ia, p=p)
381-
expected = numpy.linalg.cond(a, p=p)
382-
assert_dtype_allclose(result, expected)
383-
384370
@pytest.mark.parametrize(
385371
"p",
386372
[None, -inp.inf, -2, -1, 1, 2, inp.inf, "fro"],

0 commit comments

Comments
 (0)