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

  • 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.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.3.1-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for pytest-faulthandler-1.3.1.tar.gz
Algorithm Hash digest
SHA256 bd02b812814db90e19e008f96853996c70064c5a94f84e3db41719543401bcb5
MD5 533fcc33caaefe76a4034bf253b4a6ed
BLAKE2b-256 1953cb7ea25f51b3a805c3a41e2a534ead6ce024b6d32ba78026e25ae27a4569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_faulthandler-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c4f61bef20fd481f476e84bd8eba3bdc9dadc568256e7fab8279860317daa8b3
MD5 8c1a15584896a321157fb7b5ca11b79a
BLAKE2b-256 900ebb4be673cf6f66a68351a554a710406d79a0c6db4db7bf1bbf90db7db10d

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