We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb00182 commit 413ca8aCopy full SHA for 413ca8a
src/_pytest/faulthandler.py
@@ -80,7 +80,7 @@ def _get_stderr_fileno():
80
def get_timeout_config_value(config):
81
return float(config.getini("faulthandler_timeout") or 0.0)
82
83
- @pytest.hookimpl(hookwrapper=True)
+ @pytest.hookimpl(hookwrapper=True, trylast=True)
84
def pytest_runtest_protocol(self, item):
85
timeout = self.get_timeout_config_value(item.config)
86
stderr = item.config._store[fault_handler_stderr_key]
0 commit comments