Skip to content

Commit 89fd914

Browse files
authored
Temporary mute tests for dpnp.sum (#1550)
* Muted tests for dpnp.sum * Muted more tests from coverage run
1 parent 09f7085 commit 89fd914

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/test_mathematical.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,9 @@ def test_sum_empty_out(dtype):
12031203
@pytest.mark.parametrize("transpose", [True, False])
12041204
@pytest.mark.parametrize("keepdims", [True, False])
12051205
def test_sum(shape, dtype_in, dtype_out, transpose, keepdims):
1206+
if transpose and shape in [(1, 2, 3), (3, 3, 3)]:
1207+
pytest.skip("muted due to issue dpctl-1391")
1208+
12061209
size = numpy.prod(shape)
12071210
a_np = numpy.arange(size).astype(dtype_in).reshape(shape)
12081211
a = dpnp.asarray(a_np)

tests/third_party/cupy/math_tests/test_sumprod.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def test_sum_axis2(self, xp, dtype):
117117
else:
118118
return a.sum(axis=1)
119119

120+
@pytest.mark.skip("muted due to issue dpctl-1391")
120121
@testing.for_all_dtypes()
121122
@testing.numpy_cupy_allclose(contiguous_check=False)
122123
def test_sum_axis_transposed(self, xp, dtype):
@@ -127,6 +128,7 @@ def test_sum_axis_transposed(self, xp, dtype):
127128
else:
128129
return a.sum(axis=1)
129130

131+
@pytest.mark.skip("muted due to issue dpctl-1391")
130132
@testing.for_all_dtypes()
131133
@testing.numpy_cupy_allclose(contiguous_check=False)
132134
def test_sum_axis_transposed2(self, xp, dtype):

0 commit comments

Comments
 (0)