code: def test_scalar_agg_wrong_output_type(
      wrong_output_type_agg_func_fixture,
  ):
      arr = pa.array([10, 20, 30, 40, 50], pa.int64())
      with pytest.raises(pa.ArrowTypeError, match="output type"):
          pc.call_function("y=wrong_output_type(x)", [arr])
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 49 for calling a global function with example usage: test_scalar_agg_wrong_output_type(wrong_output_type_agg_func_fixture) without return types