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

Function pytest_cmdline_main

src/_pytest/setuponly.py:94–97  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

92
93@pytest.hookimpl(tryfirst=True)
94def pytest_cmdline_main(config: Config) -> Optional[Union[int, ExitCode]]:
95 if config.option.setuponly:
96 config.option.setupshow = True
97 return None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected