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

Function test_search_sorted_errors

python/pyarrow/tests/test_compute.py:3364–3368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3362
3363
3364def test_search_sorted_errors():
3365 values = pa.array([1, 1, 3, 5, 8])
3366
3367 with pytest.raises(ValueError, match='"middle" is not a valid search sorted side'):
3368 pc.search_sorted(values, pa.array([1]), side="middle")
3369
3370
3371def test_sort_indices_array():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected