Skip to content

Commit 12133a3

Browse files
authored
Limit a test run for roll function by NumPy version (#2092)
* Update third party test failing since numpy 2.1.2 * Applied pre-commit formatting
1 parent c3c194c commit 12133a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/third_party/cupy/manipulation_tests/test_rearrange.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def test_roll_cupy_shift(self, xp, dtype):
4141

4242

4343
class TestRollTypeError(unittest.TestCase):
44+
# TODO: update, once dpctl#1857 is resolved
45+
@testing.with_requires("numpy<2.1.2") # done in numpy#27437
4446
def test_roll_invalid_shift(self):
4547
for xp in (numpy, cupy):
4648
x = testing.shaped_arange((5, 2), xp)

0 commit comments

Comments
 (0)