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

Function test_scalar_agg_exception

python/pyarrow/tests/test_udf.py:796–800  ·  view source on GitHub ↗
(exception_agg_func_fixture)

Source from the content-addressed store, hash-verified

794
795@pytest.mark.numpy
796def test_scalar_agg_exception(exception_agg_func_fixture):
797 arr = pa.array([10, 20, 30, 40, 50, 60], pa.int64())
798
799 with pytest.raises(RuntimeError, match='Oops'):
800 pc.call_function("y=exception_len(x)", [arr])
801
802
803@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected