Skip to content

Commit db0094c

Browse files
committed
address more comments
1 parent f4acb40 commit db0094c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dpnp/tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,7 @@ def test_2D(self, dtype, ord, axis, keepdims):
21642164
assert_dtype_allclose(result, expected)
21652165

21662166
@pytest.mark.usefixtures("suppress_divide_numpy_warnings")
2167-
@pytest.mark.parametrize("dtype", get_all_dtypes())
2167+
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))
21682168
@pytest.mark.parametrize(
21692169
"ord", [None, -dpnp.inf, -2, -1, 1, 2, 3, dpnp.inf, "fro", "nuc"]
21702170
)

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_angle_complex(self, dtype, deg):
8181

8282

8383
class TestConj:
84-
@pytest.mark.parametrize("dtype", get_all_dtypes())
84+
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))
8585
def test_conj(self, dtype):
8686
a = generate_random_numpy_array(20, dtype)
8787
ia = dpnp.array(a)

0 commit comments

Comments
 (0)