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

Function post_mortem

src/_pytest/debugging.py:383–388  ·  view source on GitHub ↗
(t: types.TracebackType)

Source from the content-addressed store, hash-verified

381
382
383def post_mortem(t: types.TracebackType) -> None:
384 p = pytestPDB._init_pdb("post_mortem")
385 p.reset()
386 p.interaction(None, t)
387 if p.quitting:
388 outcomes.exit("Quitting debugger")

Callers 2

pytest_internalerrorMethod · 0.85
_enter_pdbFunction · 0.85

Calls 3

_init_pdbMethod · 0.80
resetMethod · 0.45
interactionMethod · 0.45

Tested by

no test coverage detected