Skip to content

Commit b913df8

Browse files
author
Vahid Tavanashad
committed
test_over_index
1 parent 6881425 commit b913df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpnp/tests/test_indexing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ def test_2d(self, a_dt, ind_dt, indices, mode, axis):
741741
@pytest.mark.parametrize("mode", ["clip", "wrap"])
742742
def test_over_index(self, a_dt, mode):
743743
a = get_abs_array([-2, -1, 0, 1, 2], a_dt)
744+
a = dpnp.array(a)
744745
ind = dpnp.array([-5, 5], dtype=numpy.intp)
745746

746747
result = dpnp.take(a, ind, mode=mode)

0 commit comments

Comments
 (0)