Skip to content

Commit 50d405a

Browse files
committed
Update remaining LinAlg tests
1 parent 183f252 commit 50d405a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/tests/third_party/cupy/linalg_tests/test_norms.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_external_trace(self, xp, dtype):
5858
)
5959
)
6060
class TestNorm(unittest.TestCase):
61+
6162
@testing.for_all_dtypes(no_float16=True)
6263
@testing.numpy_cupy_allclose(rtol=1e-3, atol=1e-4, type_check=False)
6364
# since dtype of sum is different in dpnp and NumPy, type_check=False
@@ -88,6 +89,7 @@ def test_norm(self, xp, dtype):
8889
)
8990
)
9091
class TestMatrixRank(unittest.TestCase):
92+
9193
@testing.for_all_dtypes(no_float16=True, no_complex=True)
9294
@testing.numpy_cupy_array_equal(type_check=True)
9395
def test_matrix_rank(self, xp, dtype):
@@ -103,6 +105,7 @@ def test_matrix_rank(self, xp, dtype):
103105

104106

105107
class TestDet(unittest.TestCase):
108+
106109
@testing.for_float_dtypes(no_float16=True)
107110
@testing.numpy_cupy_allclose(rtol=1e-3, atol=1e-4)
108111
def test_det(self, xp, dtype):
@@ -179,6 +182,7 @@ def test_det_singular(self, xp, dtype):
179182

180183

181184
class TestSlogdet(unittest.TestCase):
185+
182186
@testing.for_dtypes("fdFD")
183187
@testing.numpy_cupy_allclose(rtol=1e-3, atol=1e-4)
184188
def test_slogdet(self, xp, dtype):

0 commit comments

Comments
 (0)