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

Method __init__

testing/code/test_source.py:220–222  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

218def test_getstartingblock_singleline() -> None:
219 class A:
220 def __init__(self, *args) -> None:
221 frame = sys._getframe(1)
222 self.source = Frame(frame).statement
223
224 x = A("x", "y")
225

Callers

nothing calls this directly

Calls 1

FrameClass · 0.90

Tested by

no test coverage detected