Skip to content

Commit 7165c70

Browse files
committed
Mute test_trim_ndim since now supported by numpy 2.2
1 parent dcd3d98 commit 7165c70

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dpnp/tests/test_umath.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ def get_id(val):
7373

7474

7575
# implement missing umaths and to remove the list
76-
# SAT-7323 bitwise_count
7776
new_umaths_numpy_20 = [
78-
"bitwise_count",
77+
"bitwise_count", # SAT-7323
78+
"matvec", # SAT-7615
79+
"vecmat", # SAT-7615
7980
]
8081

8182

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ def test_trim_zero_dim(self, dtype):
394394
with pytest.raises(TypeError):
395395
xp.trim_zeros(a, trim=self.trim)
396396

397+
# TODO: remove once SAT-7616
398+
@testing.with_requires("numpy<2.2")
397399
@testing.for_all_dtypes()
398400
def test_trim_ndim(self, dtype):
399401
for xp in (numpy, cupy):

0 commit comments

Comments
 (0)