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

Function pytest_collection

src/_pytest/main.py:393–394  ·  view source on GitHub ↗
(session: Session)

Source from the content-addressed store, hash-verified

391
392
393def pytest_collection(session: Session) -> None:
394 session.perform_collect()
395
396
397def pytest_runtestloop(session: Session) -> bool:

Callers

nothing calls this directly

Calls 1

perform_collectMethod · 0.80

Tested by

no test coverage detected