_pytest.faulthandler module

pytest_addoption(parser)[source]
pytest_configure(config)[source]
class FaultHandlerHooks[source]

Bases: object

Implements hooks that will actually install fault handler before tests execute, as well as correctly handle pdb and internal errors.

pytest_configure(config)[source]
pytest_unconfigure(config)[source]
staticmethod _get_stderr_fileno()[source]
staticmethod get_timeout_config_value(config)[source]
for ... in pytest_runtest_protocol(item)[source]
pytest_enter_pdb()[source]

Cancel any traceback dumping due to timeout before entering pdb.

pytest_exception_interact()[source]

Cancel any traceback dumping due to an interactive exception being raised.