MCPcopy Create free account
hub / github.com/apache/arrow / test_array_slice_invalid_scalars

Function test_array_slice_invalid_scalars

python/pyarrow/tests/test_array.py:598–602  ·  view source on GitHub ↗
(scalar, args)

Source from the content-addressed store, hash-verified

596 lambda scalar: (0, scalar),
597])
598def test_array_slice_invalid_scalars(scalar, args):
599 arr = pa.array(range(10))
600
601 with pytest.raises(TypeError):
602 arr.slice(*args(scalar))
603
604
605def test_array_slice_negative_integer_scalars():

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
sliceMethod · 0.45

Tested by

no test coverage detected