Skip to main content

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

Project description

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

Inspired by the nose faulthandler plugin.

version downloads ci appveyor

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.7+, Python 3.4+

  • pytest

  • faulthandler

Install

Install using pip:

$ pip install pytest-faulthandler

Change Log

Please consult the CHANGELOG.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-faulthandler-1.2.0.zip (6.4 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.2.0-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-faulthandler-1.2.0.zip.

File metadata

File hashes

Hashes for pytest-faulthandler-1.2.0.zip
Algorithm Hash digest
SHA256 ea6bfb9834fe00a4ed4427c6ec3400e3176d588a08df194dbc0fd11afea1d872
MD5 fe68b4c0480f8b3b57e57e955cf4c92e
BLAKE2b-256 a015361050a8c5fd2f4f966e57f724341a2a389b3f6b03bd86b726b29b93b215

See more details on using hashes here.

File details

Details for the file pytest_faulthandler-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_faulthandler-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 639d557c8c26a7fdbf15969729ff7bc7dbda21728228d22bb634868e9bf66b45
MD5 16a1697fab86112cb03e06a26b59329b
BLAKE2b-256 14c6bfe19c32ffac02a845c05d8e303f6dce4982a2cbe2afebb80751c5842a0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page