Skip to content

Commit 94380f6

Browse files
Test case when end is None
1 parent dfcfe04 commit 94380f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpctl/tests/test_usm_ndarray_manipulation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,3 +759,6 @@ def test_arange(dt):
759759
assert float(X[47]) == 47.0
760760
elif np.issubdtype(dt, np.complexfloating):
761761
assert complex(X[47]) == 47.0 + 0.0j
762+
763+
X1 = dpt.arange(4, dtype=dt, sycl_queue=q)
764+
assert X1.shape == (4,)

0 commit comments

Comments
 (0)