From eaa7f2f940403498a65f1b9ddaf496bb90cc3715 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 7 Oct 2024 17:01:58 +0200 Subject: [PATCH 1/2] Update third party test failing since numpy 2.1.2 --- tests/third_party/cupy/manipulation_tests/test_rearrange.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/third_party/cupy/manipulation_tests/test_rearrange.py b/tests/third_party/cupy/manipulation_tests/test_rearrange.py index 79a035206376..4b04245b5fd6 100644 --- a/tests/third_party/cupy/manipulation_tests/test_rearrange.py +++ b/tests/third_party/cupy/manipulation_tests/test_rearrange.py @@ -41,6 +41,8 @@ def test_roll_cupy_shift(self, xp, dtype): class TestRollTypeError(unittest.TestCase): + # TODO: update, once dpctl#1857 is resolved + @testing.with_requires("numpy<2.1.2") # done in numpy#27437 def test_roll_invalid_shift(self): for xp in (numpy, cupy): x = testing.shaped_arange((5, 2), xp) From faff71bd7fcd7fbf08240edcc35dfef5920d8b34 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 7 Oct 2024 17:12:07 +0200 Subject: [PATCH 2/2] Applied pre-commit formatting --- tests/third_party/cupy/manipulation_tests/test_rearrange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/third_party/cupy/manipulation_tests/test_rearrange.py b/tests/third_party/cupy/manipulation_tests/test_rearrange.py index 4b04245b5fd6..2041e9df840b 100644 --- a/tests/third_party/cupy/manipulation_tests/test_rearrange.py +++ b/tests/third_party/cupy/manipulation_tests/test_rearrange.py @@ -42,7 +42,7 @@ def test_roll_cupy_shift(self, xp, dtype): class TestRollTypeError(unittest.TestCase): # TODO: update, once dpctl#1857 is resolved - @testing.with_requires("numpy<2.1.2") # done in numpy#27437 + @testing.with_requires("numpy<2.1.2") # done in numpy#27437 def test_roll_invalid_shift(self): for xp in (numpy, cupy): x = testing.shaped_arange((5, 2), xp)