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

Function pytest_load_initial_conftests

src/_pytest/warnings.py:135–141  ·  view source on GitHub ↗
(
    early_config: "Config",
)

Source from the content-addressed store, hash-verified

133
134@pytest.hookimpl(hookwrapper=True)
135def pytest_load_initial_conftests(
136 early_config: "Config",
137) -> Generator[None, None, None]:
138 with catch_warnings_for_item(
139 config=early_config, ihook=early_config.hook, when="config", item=None
140 ):
141 yield

Callers

nothing calls this directly

Calls 1

catch_warnings_for_itemFunction · 0.85

Tested by

no test coverage detected