Skip to content

Commit 9c29fe7

Browse files
authored
Backport gh-2495 (#2497)
This PR backports of #2495from development branch to `maintenance/0.18.x`.
1 parent b41b121 commit 9c29fe7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

dpnp/tests/test_product.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,7 @@ def test_dtype_matrix(self, dt_in1, dt_in2, dt_out, shape1, shape2):
843843
assert_raises(TypeError, dpnp.matmul, ia, ib, out=iout)
844844
assert_raises(TypeError, numpy.matmul, a, b, out=out)
845845

846-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
847-
@testing.with_requires("numpy<2.3")
846+
@testing.with_requires("numpy!=2.3.0")
848847
@pytest.mark.parametrize("dtype", _selected_dtypes)
849848
@pytest.mark.parametrize("order1", ["C", "F", "A"])
850849
@pytest.mark.parametrize("order2", ["C", "F", "A"])
@@ -882,8 +881,7 @@ def test_order(self, dtype, order1, order2, order, shape1, shape2):
882881
assert result.flags.f_contiguous == expected.flags.f_contiguous
883882
assert_dtype_allclose(result, expected)
884883

885-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
886-
@testing.with_requires("numpy<2.3")
884+
@testing.with_requires("numpy!=2.3.0")
887885
@pytest.mark.parametrize("dtype", _selected_dtypes)
888886
@pytest.mark.parametrize(
889887
"stride",

dpnp/tests/third_party/cupy/math_tests/test_matmul.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ def test_cupy_matmul(self, xp, dtype1, dtype2):
9999
)
100100
class TestMatmulOut(unittest.TestCase):
101101

102-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
103-
@testing.with_requires("numpy<2.3")
102+
@testing.with_requires("numpy!=2.3.0")
104103
# no_int8=True is added to avoid overflow
105104
@testing.for_all_dtypes(name="dtype1", no_int8=True)
106105
@testing.for_all_dtypes(name="dtype2", no_int8=True)

0 commit comments

Comments
 (0)