Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ runtest
Method
runtest
src/_pytest/python.py:1761–1762 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1759
""
"
1760
1761
def
runtest(self) -> None:
1762
raise
RuntimeError(
"function definitions are not supposed to be run as tests"
)
1763
1764
setup = runtest
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected