MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / test_builtins

Function test_builtins

tests/test_signatures.py:59–64  ·  view source on GitHub ↗
(name, params, arguments)

Source from the content-addressed store, hash-verified

57 ],
58)
59def test_builtins(name, params, arguments):
60 code = "%s(%s)" % (name, arguments)
61 s = setup_state(code, code)
62 fun_state = s.check_function(name)
63 for param in params:
64 fun_state.check_args(param).has_equal_value()
65
66
67@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

setup_stateFunction · 0.90

Tested by

no test coverage detected