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

Method f

src/_pytest/_code/code.py:335–339  ·  view source on GitHub ↗
(cur: TracebackType)

Source from the content-addressed store, hash-verified

333 if isinstance(tb, TracebackType):
334
335 def f(cur: TracebackType) -> Iterable[TracebackEntry]:
336 cur_: Optional[TracebackType] = cur
337 while cur_ is not None:
338 yield TracebackEntry(cur_, excinfo=excinfo)
339 cur_ = cur_.tb_next
340
341 super().__init__(f(tb))
342 else:

Callers

nothing calls this directly

Calls 1

TracebackEntryClass · 0.85

Tested by

no test coverage detected