Skip to content

Commit b507b27

Browse files
committed
Resolve tests failures with rounding functions towards numpy 2.0
1 parent 12c324b commit b507b27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,6 +2302,7 @@ def test_projection(self, dtype):
23022302

23032303
@pytest.mark.parametrize("func", ["ceil", "floor", "trunc", "fix"])
23042304
class TestRoundingFuncs:
2305+
@testing.with_requires("numpy>=2.1.0")
23052306
@pytest.mark.parametrize(
23062307
"dt", get_all_dtypes(no_none=True, no_complex=True)
23072308
)

0 commit comments

Comments
 (0)