MCPcopy Create free account
hub / github.com/pytest-dev/pytest / f1

Function f1

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_frame_getargsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected