===================
pytest-faulthandler
===================
Plugin for pytest that automatically enables the
`faulthandler <https://faulthandler.readthedocs.io/>`_ module during tests.
Inspired by the
`nose faulthandler <https://github.com/schlamar/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 <http://pip-installer.org/>`_:
.. code-block:: console
$ pip install pytest-faulthandler
Change Log
==========
Please consult the `CHANGELOG`_.
.. _CHANGELOG: https://github.com/pytest-dev/pytest-faulthandler/blob/master/CHANGELOG.rst
Raw data
{
"_id": null,
"home_page": "https://github.com/pytest-dev/pytest-faulthandler",
"name": "pytest-faulthandler",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "pytest faulthandler",
"author": "Bruno Oliveira",
"author_email": "nicoddemus@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/83/5b/d76f372ece0d4519dbe96aeaf80a2ffa306d96189cdb30347ff19dec42b8/pytest-faulthandler-2.0.1.tar.gz",
"platform": "",
"description": "===================\npytest-faulthandler\n===================\n\n\nPlugin for pytest that automatically enables the\n`faulthandler <https://faulthandler.readthedocs.io/>`_ module during tests.\n\nInspired by the\n`nose faulthandler <https://github.com/schlamar/nose-faulthandler>`_ plugin.\n\n**This plugin is now part of pytest core since pytest 5.0, so users should not install this plugin together with that pytest version.**\n\n**Version 2.0.0 of this package is a dummy package for pytest 5.0 compatibility**.\n\n\nUsage\n=====\n\nThe plugin is always active by default, but you can disable it by passing\n``--no-faulthandler`` to ``py.test``.\n\nOptions:\n\n* ``--faulthandler-timeout=TIMEOUT``: Dump the traceback of all threads if a\n test takes more than TIMEOUT seconds to finish.\n\n\nRequirements\n============\n\n* Python 2.7+, Python 3.4+\n* pytest\n* faulthandler (Python 2.7)\n\n\nInstall\n=======\n\nInstall using `pip <http://pip-installer.org/>`_:\n\n.. code-block:: console\n\n $ pip install pytest-faulthandler\n\nChange Log\n==========\n\nPlease consult the `CHANGELOG`_.\n\n.. _CHANGELOG: https://github.com/pytest-dev/pytest-faulthandler/blob/master/CHANGELOG.rst\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "py.test plugin that activates the fault handler module for tests (dummy package)",
"version": "2.0.1",
"split_keywords": [
"pytest",
"faulthandler"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "437bfdf366e45343f56b69de904aa1de",
"sha256": "236430ba962fd1c910d670922be55fe5b25ea9bc3fc6561a0cafbb8759e7504d"
},
"downloads": -1,
"filename": "pytest_faulthandler-2.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "437bfdf366e45343f56b69de904aa1de",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 2701,
"upload_time": "2019-07-04T20:39:44",
"upload_time_iso_8601": "2019-07-04T20:39:44.692058Z",
"url": "https://files.pythonhosted.org/packages/f2/ed/a654dfc81c577135a658f8257e2ab8210dc48415cb4125bf36fb9ac7e1cc/pytest_faulthandler-2.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "8f01b0f26e4d835e35a746fb77b7ac6d",
"sha256": "ed72bbce87ac344da81eb7d882196a457d4a1026a3da4a57154dacd85cd71ae5"
},
"downloads": -1,
"filename": "pytest-faulthandler-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "8f01b0f26e4d835e35a746fb77b7ac6d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4137,
"upload_time": "2019-07-04T20:39:46",
"upload_time_iso_8601": "2019-07-04T20:39:46.211413Z",
"url": "https://files.pythonhosted.org/packages/83/5b/d76f372ece0d4519dbe96aeaf80a2ffa306d96189cdb30347ff19dec42b8/pytest-faulthandler-2.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-07-04 20:39:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "pytest-dev",
"github_project": "pytest-faulthandler",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "pytest-faulthandler"
}