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.

python 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.3.0.zip (6.5 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.3.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for pytest-faulthandler-1.3.0.zip
Algorithm Hash digest
SHA256 c51eb97b380bb5f7077d139d5675e1b54ed74420c537ed0d83446ae4addd9781
MD5 d9dadfc87bcb1b7ebeb12916a2fda49b
BLAKE2b-256 977545c1a8ad39ed5bb09fdfc4fe15bd4df3cd9ffa27e5c1d3cbbb4fa50a73dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_faulthandler-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f341ae48d4b1ae5cd03720f37a6dd03d71984a8b73bbd0bfd78f9e0a0adaf887
MD5 919705b323f4a911a5f4fad91ee1e855
BLAKE2b-256 3c95c924fc360917afc8aae467206aed4a43eb1fafd24648fc7b3ab9fa956c19

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