MCPcopy
hub / github.com/pytest-dev/pytest / pytest_keyboard_interrupt

Method pytest_keyboard_interrupt

src/_pytest/terminal.py:1011–1012  ·  view source on GitHub ↗
(self, excinfo: ExceptionInfo[BaseException])

Source from the content-addressed store, hash-verified

1009 self.summary_warnings()
1010
1011 def pytest_keyboard_interrupt(self, excinfo: ExceptionInfo[BaseException]) -> None:
1012 self._keyboardinterrupt_memo = excinfo.getrepr(funcargs=True)
1013
1014 def pytest_unconfigure(self) -> None:
1015 if self._keyboardinterrupt_memo is not None:

Callers

nothing calls this directly

Calls 1

getreprMethod · 0.80

Tested by

no test coverage detected