skip to navigation
skip to content

pytest-faulthandler 1.3.1

py.test plugin that activates the fault handler module for tests

Plugin for pytest that automatically enables the faulthandler module during tests.

Inspired by the nose faulthandler plugin.

Usage

The plugin is always active by default, but you can disable it by passing --no-faulthandler to py.test.

Options:

  • --faulthandler-timeout=TIMEOUT: Dump the traceback of all threads if a test takes more than TIMEOUT seconds to finish.

Requirements

  • Python 2.6+, Python 3.3+
  • pytest
  • faulthandler

Install

Install using pip:

$ pip install pytest-faulthandler

Change Log

Please consult the CHANGELOG.

 
File Type Py Version Uploaded on Size
pytest-faulthandler-1.3.1.tar.gz (md5) Source 2016-11-16 3KB
pytest_faulthandler-1.3.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-11-16 5KB