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

Function f

testing/code/test_source.py:59–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58def test_source_from_inner_function() -> None:
59 def f():
60 raise NotImplementedError()
61
62 source = Source(f)
63 assert str(source).startswith("def f():")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected