Skip to content

Commit

Permalink
test_over_index
Browse files Browse the repository at this point in the history
  • Loading branch information
vtavana committed Dec 17, 2024
1 parent 6881425 commit b913df8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dpnp/tests/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ def test_2d(self, a_dt, ind_dt, indices, mode, axis):
@pytest.mark.parametrize("mode", ["clip", "wrap"])
def test_over_index(self, a_dt, mode):
a = get_abs_array([-2, -1, 0, 1, 2], a_dt)
a = dpnp.array(a)
ind = dpnp.array([-5, 5], dtype=numpy.intp)

result = dpnp.take(a, ind, mode=mode)
Expand Down

0 comments on commit b913df8

Please sign in to comment.