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

Function test_varargs_function_validation

python/pyarrow/tests/test_udf.py:489–495  ·  view source on GitHub ↗
(varargs_func_fixture)

Source from the content-addressed store, hash-verified

487
488
489def test_varargs_function_validation(varargs_func_fixture):
490 _, func_name = varargs_func_fixture
491
492 error_msg = r"VarArgs function 'z=ax\+by\+c' needs at least 2 arguments"
493
494 with pytest.raises(ValueError, match=error_msg):
495 pc.call_function(func_name, [42])
496
497
498def test_function_doc_validation():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected