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

Function pytest_sessionfinish

src/_pytest/runner.py:111–112  ·  view source on GitHub ↗
(session: Session)

Source from the content-addressed store, hash-verified

109
110
111def pytest_sessionfinish(session: Session) -> None:
112 session._setupstate.teardown_exact(None)
113
114
115def pytest_runtest_protocol(item: Item, nextitem: Item | None) -> bool:

Callers

nothing calls this directly

Calls 1

teardown_exactMethod · 0.80

Tested by

no test coverage detected