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

Method pytest_sessionfinish

src/_pytest/logging.py:883–888  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

881
882 @hookimpl(wrapper=True, tryfirst=True)
883 def pytest_sessionfinish(self) -> Generator[None]:
884 self.log_cli_handler.set_when("sessionfinish")
885
886 with catching_logs(self.log_cli_handler, level=self.log_cli_level):
887 with catching_logs(self.log_file_handler, level=self.log_file_level):
888 return (yield)
889
890 @hookimpl
891 def pytest_unconfigure(self) -> None:

Callers

nothing calls this directly

Calls 2

catching_logsClass · 0.85
set_whenMethod · 0.45

Tested by

no test coverage detected