diff --git a/CHANGELOG.md b/CHANGELOG.md index 172e6f6ecee..28f1fefda3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fixed `dpnp.linalg.cond` to always return a real dtype [#2547](https://github.com/IntelPython/dpnp/pull/2547) * Resolved the issue in `dpnp.random` functions to allow any value of `size` where each element is castable to `Py_ssize_t` type [#2578](https://github.com/IntelPython/dpnp/pull/2578) * Resolved `conda build --test` issue in python 3.9 environment [#2583](https://github.com/IntelPython/dpnp/pull/2583) +* Fixed tests for the rounding functions to depend on minimum required numpy version [#2589](https://github.com/IntelPython/dpnp/pull/2589) ### Security diff --git a/dpnp/tests/test_mathematical.py b/dpnp/tests/test_mathematical.py index bd15b4ca728..38056786b0c 100644 --- a/dpnp/tests/test_mathematical.py +++ b/dpnp/tests/test_mathematical.py @@ -2302,6 +2302,7 @@ def test_projection(self, dtype): @pytest.mark.parametrize("func", ["ceil", "floor", "trunc", "fix"]) class TestRoundingFuncs: + @testing.with_requires("numpy>=2.1.0") @pytest.mark.parametrize( "dt", get_all_dtypes(no_none=True, no_complex=True) )