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.

Source Distribution

pytest-faulthandler-2.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

pytest_faulthandler-2.0.0-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytest-faulthandler-2.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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.2 CPython/3.6.7

File hashes

Hashes for pytest-faulthandler-2.0.0.tar.gz
Algorithm Hash digest
SHA256 83de07c4cf54be58f9d0db103398a971b832192ff91d021c999e36640dd584e9
MD5 86bafe7f097349a948b2a0adc6e5af18
BLAKE2b-256 3a1953c0bd85b392a5e38f358c205987d886ad2f0c4e9a68998bf6b4dca4e5a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_faulthandler-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.2 CPython/3.6.7

File hashes

Hashes for pytest_faulthandler-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 84ef00874901f50aff4f1c52b9d3322a2b2f4fd2ce53daa1b0fbc44e82ec2cbc
MD5 82ce9778702f6f5f5b4011c596285926
BLAKE2b-256 36527984d5d0963b444795e3456f4ee3e10309336a8c95c8795fed3e499fa495

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