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

Function fin

src/_pytest/debugging.py:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 # NOTE: not using pytest_unconfigure, since it might get called although
83 # pytest_configure was not (if another plugin raises UsageError).
84 def fin() -> None:
85 (
86 pdb.set_trace,
87 pytestPDB._pluginmanager,
88 pytestPDB._config,
89 ) = pytestPDB._saved.pop()
90
91 config.add_cleanup(fin)
92

Callers 2

teardown_exactMethod · 0.85
_ensure_unconfigureMethod · 0.85

Calls 1

popMethod · 0.80

Tested by

no test coverage detected