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

Function pytest_configure

src/_pytest/logging.py:524–525  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

522# run after terminalreporter/capturemanager are configured
523@hookimpl(trylast=True)
524def pytest_configure(config: Config) -> None:
525 config.pluginmanager.register(LoggingPlugin(config), "logging-plugin")
526
527
528class LoggingPlugin:

Callers

nothing calls this directly

Calls 2

LoggingPluginClass · 0.85
registerMethod · 0.80

Tested by

no test coverage detected