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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-faulthandler-2.0.1.tar.gz
.
File metadata
- Download URL: pytest-faulthandler-2.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed72bbce87ac344da81eb7d882196a457d4a1026a3da4a57154dacd85cd71ae5 |
|
MD5 | 8f01b0f26e4d835e35a746fb77b7ac6d |
|
BLAKE2b-256 | 835bd76f372ece0d4519dbe96aeaf80a2ffa306d96189cdb30347ff19dec42b8 |
File details
Details for the file pytest_faulthandler-2.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_faulthandler-2.0.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236430ba962fd1c910d670922be55fe5b25ea9bc3fc6561a0cafbb8759e7504d |
|
MD5 | 437bfdf366e45343f56b69de904aa1de |
|
BLAKE2b-256 | f2eda654dfc81c577135a658f8257e2ab8210dc48415cb4125bf36fb9ac7e1cc |