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. Not available on Windows.

Requirements

  • Python 2.6+, Python 3.4+

  • pytest

  • faulthandler

Install

Install using pip:

$ pip install pytest-faulthandler

Change Log

Please consult the releases page.

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.0.1.zip (6.3 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.0.1-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for pytest-faulthandler-1.0.1.zip
Algorithm Hash digest
SHA256 3342e764d31e0cbc89c1c7e92deda429d61038c38ba5907359fdc7f8bc8fea62
MD5 ffc97b0e3367e281b729c0b42b041776
BLAKE2b-256 88c89bc6ffc0f21c0ec0b2b1f65fe4c0b9dad0de5fe8d6b84f3da7f830f1e54e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_faulthandler-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4d1288e9f1b50eb2836ab000a10f073039a0a2089511800f6e439db941173040
MD5 127be656bc74dcc7b4a29898ec73a0f2
BLAKE2b-256 44cb412e227f31e0696394e2eff994a01a5fc4dbc270ce179ec455b402496280

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