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

Function pytest_load_initial_conftests

src/_pytest/warnings.py:123–129  ·  view source on GitHub ↗
(
    early_config: Config,
)

Source from the content-addressed store, hash-verified

121
122@pytest.hookimpl(wrapper=True)
123def pytest_load_initial_conftests(
124 early_config: Config,
125) -> Generator[None]:
126 with catch_warnings_for_item(
127 config=early_config, ihook=early_config.hook, when="config", item=None
128 ):
129 return (yield)
130
131
132def pytest_configure(config: Config) -> None:

Callers

nothing calls this directly

Calls 1

catch_warnings_for_itemFunction · 0.85

Tested by

no test coverage detected