Skip to content

Commit b81bfb9

Browse files
authored
muted tests for diagflat for scalars
1 parent e14898b commit b81bfb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/third_party/cupy/creation_tests/test_matrix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ def test_diagflat3(self, xp):
9292
a = testing.shaped_arange((3, 3), xp)
9393
return xp.diagflat(a, -2)
9494

95-
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
95+
@pytest.mark.skip("Scalar input is not supported")
9696
@testing.numpy_cupy_array_equal()
9797
def test_diagflat_from_scalar(self, xp):
9898
return xp.diagflat(3)
9999

100-
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
100+
@pytest.mark.skip("Scalar input is not supported")
101101
@testing.numpy_cupy_array_equal()
102102
def test_diagflat_from_scalar_with_k0(self, xp):
103103
return xp.diagflat(3, 0)
104104

105-
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
105+
@pytest.mark.skip("Scalar input is not supported")
106106
@testing.numpy_cupy_array_equal()
107107
def test_diagflat_from_scalar_with_k1(self, xp):
108108
return xp.diagflat(3, 1)

0 commit comments

Comments
 (0)