From 6cfdc77b39b1d48a749602f006de59c910eec8fe Mon Sep 17 00:00:00 2001 From: Vladislav Perevezentsev Date: Wed, 14 May 2025 11:31:43 -0700 Subject: [PATCH] Fix DeprecationWarning in TestInterp for unsigned integer dtypes --- dpnp/tests/test_mathematical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpnp/tests/test_mathematical.py b/dpnp/tests/test_mathematical.py index 012a3eefdd00..7da7a44e01b5 100644 --- a/dpnp/tests/test_mathematical.py +++ b/dpnp/tests/test_mathematical.py @@ -1188,7 +1188,7 @@ def test_complex_fp(self, dtype_x, dtype_y): "left, right", [[-40, 40], [dpnp.array(-40), dpnp.array(40)]] ) def test_left_right_args(self, dtype, left, right): - x = numpy.array([-1, 0, 1, 2, 3, 4, 5, 6], dtype=dtype) + x = numpy.array([0, 1, 2, 3, 4, 5, 6], dtype=dtype) xp = numpy.array([0, 3, 6], dtype=dtype) fp = numpy.array([0, 9, 18], dtype=dtype)