It seems the code that would not install pytest's faulthandler support if it was already enabled is not really needed at all, and even detrimental when using `python -X dev -m pytest` to run Python in "dev" mode. Also simplified the plugin by removing the hook class, now the hooks will always be active so there's no need to delay the hook definitions anymore. Fix #8258
4 lines
213 B
ReStructuredText
4 lines
213 B
ReStructuredText
Fixed issue where pytest's ``faulthandler`` support would not dump traceback on crashes
|
|
if the :mod:`faulthandler` module was already enabled during pytest startup (using
|
|
``python -X dev -m pytest`` for example).
|