Called for internal errors. Return True to suppress the fallback handling of printing an INTERNALERROR message directly to sys.stderr.
(
excrepr: "ExceptionRepr",
excinfo: "ExceptionInfo[BaseException]",
)
| 871 | |
| 872 | |
| 873 | def pytest_internalerror( |
| 874 | excrepr: "ExceptionRepr", |
| 875 | excinfo: "ExceptionInfo[BaseException]", |
| 876 | ) -> Optional[bool]: |
| 877 | """Called for internal errors. |
| 878 | |
| 879 | Return True to suppress the fallback handling of printing an |
| 880 | INTERNALERROR message directly to sys.stderr. |
| 881 | """ |
| 882 | |
| 883 | |
| 884 | def pytest_keyboard_interrupt( |
nothing calls this directly
no outgoing calls
no test coverage detected