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

Function pytest_cmdline_main

src/_pytest/fixtures.py:1604–1611  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

1602
1603
1604def pytest_cmdline_main(config: Config) -> int | ExitCode | None:
1605 if config.option.showfixtures:
1606 showfixtures(config)
1607 return 0
1608 if config.option.show_fixtures_per_test:
1609 show_fixtures_per_test(config)
1610 return 0
1611 return None
1612
1613
1614def _resolve_args_directness(

Callers

nothing calls this directly

Calls 2

showfixturesFunction · 0.85
show_fixtures_per_testFunction · 0.85

Tested by

no test coverage detected