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

Function pytest_collection

src/_pytest/main.py:331–332  ·  view source on GitHub ↗
(session: "Session")

Source from the content-addressed store, hash-verified

329
330
331def pytest_collection(session: "Session") -> None:
332 session.perform_collect()
333
334
335def pytest_runtestloop(session: "Session") -> bool:

Callers

nothing calls this directly

Calls 1

perform_collectMethod · 0.80

Tested by

no test coverage detected