Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ pytest_sessionstart
Function
pytest_sessionstart
src/_pytest/runner.py:102–103 ·
view source on GitHub ↗
(session: "Session")
Source
from the content-addressed store, hash-verified
100
101
102
def
pytest_sessionstart(session:
"Session"
) -> None:
103
session._setupstate = SetupState()
104
105
106
def
pytest_sessionfinish(session:
"Session"
) -> None:
Callers
nothing calls this directly
Calls
1
SetupState
Class · 0.85
Tested by
no test coverage detected