Skip to content

Commit

Permalink
Update python/pyarrow/tests/test_compute.py
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
  • Loading branch information
js8544 and pitrou authored Jan 11, 2024
1 parent e81ccd8 commit 188a5c5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/pyarrow/tests/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,8 @@ def test_binary_slice_compatibility():
assert pc.binary_slice(arr, start, stop, step) == result
# Fixed size binary input / output
for item in data:
print(item)
print(start, stop, step)
fsb_scalar = pa.scalar(item, type=pa.binary(len(item)))
expected = item[start:stop:step]
print(expected)
actual = pc.binary_slice(fsb_scalar, start, stop, step)
assert actual.type == pa.binary(len(expected))
assert actual.as_py() == expected
Expand Down

0 comments on commit 188a5c5

Please sign in to comment.