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

Function pytest_cmdline_main

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

Source from the content-addressed store, hash-verified

492
493
494def pytest_cmdline_main(config: Config) -> Optional[Union[int, ExitCode]]:
495 if config.option.cacheshow:
496 from _pytest.main import wrap_session
497
498 return wrap_session(config, cacheshow)
499 return None
500
501
502@hookimpl(tryfirst=True)

Callers

nothing calls this directly

Calls 1

wrap_sessionFunction · 0.90

Tested by

no test coverage detected