Skip to main content

py.test plugin that activates the fault handler module for tests (dummy package)

Project description

Plugin for pytest that automatically enables the faulthandler module during tests.

Inspired by the nose faulthandler plugin.

This plugin is now part of pytest core since pytest 5.0, so users should not install this plugin together with that pytest version.

Version 2.0.0 of this package is a dummy package for pytest 5.0 compatibility.

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 (Python 2.7)

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.

Files for pytest-faulthandler, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest_faulthandler-2.0.1-py2.py3-none-any.whl (2.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pytest-faulthandler-2.0.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page