MCPcopy
hub / github.com/pytest-dev/pytest / f1

Function f1

testing/code/test_code.py:94–95  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

92
93def test_code_getargs() -> None:
94 def f1(x):
95 raise NotImplementedError()
96
97 c1 = Code.from_function(f1)
98 assert c1.getargs(var=True) == ("x",)

Callers 1

test_frame_getargsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected