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 (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.

Source Distribution

pytest-faulthandler-1.6.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-1.6.0-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytest-faulthandler-1.6.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pytest-faulthandler-1.6.0.tar.gz
Algorithm Hash digest
SHA256 58ce36506476117231192d45697caaa29c44c209be577767d6f40be8bdf16eaf
MD5 9e2d8b574540d7a7f8592a7d26e4b4d6
BLAKE2b-256 2a8b94096d0d7b199866ebaa5d3b81561d84636acfcae9ea5c15303d1c2fcbbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_faulthandler-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pytest_faulthandler-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b73670671a011b26a24f3433ec8068c93bd043ed841fe13c7951abb430d4264
MD5 8eafcede2c280cbc7173aa95c9f2ae0b
BLAKE2b-256 79d7ebdd082d0863532c3f41c9cd142cd5f5d2df4507fd452ad9a4ff113327b3

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