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

Function pytest_sessionfinish

src/_pytest/runner.py:106–107  ·  view source on GitHub ↗
(session: "Session")

Source from the content-addressed store, hash-verified

104
105
106def pytest_sessionfinish(session: "Session") -> None:
107 session._setupstate.teardown_exact(None)
108
109
110def pytest_runtest_protocol(item: Item, nextitem: Optional[Item]) -> bool:

Callers

nothing calls this directly

Calls 1

teardown_exactMethod · 0.80

Tested by

no test coverage detected