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

Function pytest_sessionfinish

src/_pytest/warnings.py:114–119  ·  view source on GitHub ↗
(session: Session)

Source from the content-addressed store, hash-verified

112
113@pytest.hookimpl(wrapper=True)
114def pytest_sessionfinish(session: Session) -> Generator[None]:
115 config = session.config
116 with catch_warnings_for_item(
117 config=config, ihook=config.hook, when="config", item=None
118 ):
119 return (yield)
120
121
122@pytest.hookimpl(wrapper=True)

Callers

nothing calls this directly

Calls 1

catch_warnings_for_itemFunction · 0.85

Tested by

no test coverage detected