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

Function pytest_terminal_summary

src/_pytest/warnings.py:103–110  ·  view source on GitHub ↗
(
    terminalreporter: TerminalReporter,
)

Source from the content-addressed store, hash-verified

101
102@pytest.hookimpl(wrapper=True)
103def pytest_terminal_summary(
104 terminalreporter: TerminalReporter,
105) -> Generator[None]:
106 config = terminalreporter.config
107 with catch_warnings_for_item(
108 config=config, ihook=config.hook, when="config", item=None
109 ):
110 return (yield)
111
112
113@pytest.hookimpl(wrapper=True)

Callers

nothing calls this directly

Calls 1

catch_warnings_for_itemFunction · 0.85

Tested by

no test coverage detected