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 anaconda 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.5.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.5.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-faulthandler-1.5.0.tar.gz.

File metadata

File hashes

Hashes for pytest-faulthandler-1.5.0.tar.gz
Algorithm Hash digest
SHA256 bf8634c3fd6309ef786ec03b913a5366163fdb094ebcfdebc35626400d790e0d
MD5 a32e3cb3ae8f18955c9a5f4007033198
BLAKE2b-256 b9f0d67a894cd3b49a8177c6fd7f883f275b27d8b71690cde9b5ba9e5f490f2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_faulthandler-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 461351d67a8f09cd2aa8b343b50ce58c301c8c206fcbf7483ee17c109d6a5ddb
MD5 f35d9153e2f3dea2824ba745e8ec4c83
BLAKE2b-256 52d713e81ff8f3f9e2ee3d22a59e0d09a4010aaa21b41dd088d757148ccca2be

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