Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ set_when
Method
set_when
src/_pytest/logging.py:970–971 ·
view source on GitHub ↗
(self, when: str)
Source
from the content-addressed store, hash-verified
968
pass
969
970
def
set_when(self, when: str) -> None:
971
pass
972
973
def
handleError(self, record: logging.LogRecord) -> None:
974
# Handled by LogCaptureHandler.
Callers
10
pytest_sessionstart
Method · 0.45
pytest_collection
Method · 0.45
pytest_runtest_logstart
Method · 0.45
pytest_runtest_logreport
Method · 0.45
pytest_runtest_setup
Method · 0.45
pytest_runtest_call
Method · 0.45
pytest_runtest_teardown
Method · 0.45
pytest_runtest_logfinish
Method · 0.45
pytest_sessionfinish
Method · 0.45
test_live_logging_suspends_capture
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_live_logging_suspends_capture
Function · 0.36