(wrong_signature_func_fixture)
| 558 | |
| 559 | |
| 560 | def 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 | |
| 570 | def test_wrong_datatype_declaration(): |
nothing calls this directly
no outgoing calls
no test coverage detected