Skip to content

Commit 36dde9e

Browse files
authored
Temporary mute tests failing with numpy 2.4 (#2717)
This PR is aimed to unblock the CI and to temporary mute tests failing with numpy 2.4. The changes needs to be reverted once [dpctl-2223](IntelPython/dpctl#2223) is merged and dpnp tests will be updated appropriately.
1 parent 22b5fce commit 36dde9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/tests/test_ndarray.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ def test_print_dpnp_zero_shape():
532532

533533
# Numpy will raise an error when converting a.ndim > 0 to a scalar
534534
# TODO: Discuss dpnp behavior according to these future changes
535+
@pytest.mark.skip("until dpctl-2223")
535536
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
536537
@pytest.mark.parametrize("func", [bool, float, int, complex])
537538
@pytest.mark.parametrize("shape", [tuple(), (1,), (1, 1), (1, 1, 1)])
@@ -547,6 +548,7 @@ def test_scalar_type_casting(func, shape, dtype):
547548
# Numpy will raise an error when converting a.ndim > 0 to a scalar
548549
# TODO: Discuss dpnp behavior according to these future changes
549550
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
551+
@pytest.mark.skip("until dpctl-2223")
550552
@pytest.mark.parametrize(
551553
"method", ["__bool__", "__float__", "__int__", "__complex__"]
552554
)

0 commit comments

Comments
 (0)