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

Function test_wrong_signature

python/pyarrow/tests/test_udf.py:560–567  ·  view source on GitHub ↗
(wrong_signature_func_fixture)

Source from the content-addressed store, hash-verified

558
559
560def test_wrong_signature(wrong_signature_func_fixture):
561 _, func_name = wrong_signature_func_fixture
562
563 expected_expr = (r"wrong_signature\(\) takes 0 positional arguments "
564 "but 1 was given")
565
566 with pytest.raises(TypeError, match=expected_expr):
567 pc.call_function(func_name, [], length=1)
568
569
570def test_wrong_datatype_declaration():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected