Skip to content

Commit 303ec8d

Browse files
committed
Update impacted third party tests
1 parent 9322549 commit 303ec8d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dpnp/tests/third_party/cupy/manipulation_tests/test_add_remove.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,15 @@ def test_trim_back_zeros(self, xp, dtype):
387387
a = xp.array([1, 0, 2, 3, 0, 5, 0, 0, 0], dtype=dtype)
388388
return xp.trim_zeros(a, trim=self.trim)
389389

390-
# TODO: remove once SAT-7616
391-
@testing.with_requires("numpy<2.2")
390+
@pytest.mark.skip("0-d array is supported")
392391
@testing.for_all_dtypes()
393392
def test_trim_zero_dim(self, dtype):
394393
for xp in (numpy, cupy):
395394
a = testing.shaped_arange((), xp, dtype)
396395
with pytest.raises(TypeError):
397396
xp.trim_zeros(a, trim=self.trim)
398397

399-
# TODO: remove once SAT-7616
400-
@testing.with_requires("numpy<2.2")
398+
@pytest.mark.skip("nd array is supported")
401399
@testing.for_all_dtypes()
402400
def test_trim_ndim(self, dtype):
403401
for xp in (numpy, cupy):

0 commit comments

Comments
 (0)