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.2+

  • 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.zip (6.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pytest-faulthandler-1.0.zip
Algorithm Hash digest
SHA256 c17b98fad950522429c02b5009fa3f3ae21be5243f5de0244a6e28d0e84fe6e4
MD5 b58f8b2f20c91b2739a89729441ea5fd
BLAKE2b-256 d6a2cb1a02392d6ddf4b3261cdf203c75cc01ddd2b4729f3157ef803a4ecffd1

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