(varargs_func_fixture)
| 487 | |
| 488 | |
| 489 | def 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 | |
| 498 | def test_function_doc_validation(): |
nothing calls this directly
no outgoing calls
no test coverage detected