Skip to content

Commit 532c11e

Browse files
committed
use basic indexing to check result in test_integer_indexing_numpy_array
1 parent 0de2fff commit 532c11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tests/test_usm_ndarray_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def test_integer_indexing_numpy_array():
447447
y = x[ii]
448448
assert isinstance(y, dpt.usm_ndarray)
449449
assert y.shape == ii.shape
450-
assert dpt.all(dpt.asarray(ii, sycl_queue=q) == y)
450+
assert dpt.all(x[1:3] == y)
451451

452452

453453
def test_boolean_indexing_numpy_array():

0 commit comments

Comments
 (0)