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

Function pytest_configure

src/_pytest/cacheprovider.py:503–506  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

501
502@hookimpl(tryfirst=True)
503def pytest_configure(config: Config) -> None:
504 config.cache = Cache.for_config(config, _ispytest=True)
505 config.pluginmanager.register(LFPlugin(config), "lfplugin")
506 config.pluginmanager.register(NFPlugin(config), "nfplugin")
507
508
509@fixture

Callers

nothing calls this directly

Calls 4

LFPluginClass · 0.85
NFPluginClass · 0.85
for_configMethod · 0.80
registerMethod · 0.80

Tested by

no test coverage detected