()
| 3362 | |
| 3363 | |
| 3364 | def 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 | |
| 3371 | def test_sort_indices_array(): |