Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests-cuda/test_3140_cuda_slicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,12 @@ def test_1904_drop_none_RecordArray():
]


def test_simple_slice():
arrg = ak.Array([[1, 2, 3], [0], [4, 5]], backend="cuda")
out = arrg[:, 0]
assert out.tolist() == [1, 0, 4]


def test_2246_slice_not_packed():
index = ak.Array(
ak.contents.ListOffsetArray(
Expand Down