Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ pytest_keyboard_interrupt
Method
pytest_keyboard_interrupt
src/_pytest/capture.py:908–909 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
906
907
@hookimpl(tryfirst=True)
908
def
pytest_keyboard_interrupt(self) -> None:
909
self.stop_global_capturing()
910
911
@hookimpl(tryfirst=True)
912
def
pytest_internalerror(self) -> None:
Callers
1
wrap_session
Function · 0.45
Calls
1
stop_global_capturing
Method · 0.95
Tested by
no test coverage detected