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.6+, 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.1.0.zip (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for pytest-faulthandler-1.1.0.zip
Algorithm Hash digest
SHA256 bc0a8efe6054cb4dbb92518f66b3c1b813ffc6d439b38cbfc02f43f054b5e4a3
MD5 600deecbbe2c0a4cb7d7b7c9655c5cc2
BLAKE2b-256 e2648e5a340ee9058995b9d1df32b3ba4f31161edf042d30d13bd1cfcde0d572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_faulthandler-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e2ff2408b815c3735b5c0a7947d4a0023ef72e2a1b78925745eebfa3019cf6c4
MD5 01ac31c140db0d3281385422da384a9d
BLAKE2b-256 a987cfb4480ff1dfd6fe65d3c70a62b5d024a6c1009e29e84a763e218884afa8

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