From 2e182ee3f0c9ed7d9c707cb5b5cccc143948d387 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 6 Sep 2023 14:13:48 +0200 Subject: [PATCH 1/2] Muted tests for dpnp.sum --- tests/test_mathematical.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_mathematical.py b/tests/test_mathematical.py index cac1e3385c21..8b75bcf7fd9e 100644 --- a/tests/test_mathematical.py +++ b/tests/test_mathematical.py @@ -1203,6 +1203,9 @@ def test_sum_empty_out(dtype): @pytest.mark.parametrize("transpose", [True, False]) @pytest.mark.parametrize("keepdims", [True, False]) def test_sum(shape, dtype_in, dtype_out, transpose, keepdims): + if transpose and shape in [(1, 2, 3), (3, 3, 3)]: + pytest.skip("muted due to issue dpctl-1391") + size = numpy.prod(shape) a_np = numpy.arange(size).astype(dtype_in).reshape(shape) a = dpnp.asarray(a_np) From f6f67e26e6086fae6506a739048d0da8a6f52921 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 6 Sep 2023 16:30:04 +0200 Subject: [PATCH 2/2] Muted more tests from coverage run --- tests/third_party/cupy/math_tests/test_sumprod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/third_party/cupy/math_tests/test_sumprod.py b/tests/third_party/cupy/math_tests/test_sumprod.py index 9c1d6a0ed2e1..8f3f2bcc207c 100644 --- a/tests/third_party/cupy/math_tests/test_sumprod.py +++ b/tests/third_party/cupy/math_tests/test_sumprod.py @@ -117,6 +117,7 @@ def test_sum_axis2(self, xp, dtype): else: return a.sum(axis=1) + @pytest.mark.skip("muted due to issue dpctl-1391") @testing.for_all_dtypes() @testing.numpy_cupy_allclose(contiguous_check=False) def test_sum_axis_transposed(self, xp, dtype): @@ -127,6 +128,7 @@ def test_sum_axis_transposed(self, xp, dtype): else: return a.sum(axis=1) + @pytest.mark.skip("muted due to issue dpctl-1391") @testing.for_all_dtypes() @testing.numpy_cupy_allclose(contiguous_check=False) def test_sum_axis_transposed2(self, xp, dtype):