Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytest-faulthandler

Package Overview
Dependencies
Maintainers
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-faulthandler

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

  • 2.0.1
  • PyPI
  • Socket score

Maintainers
7

=================== 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc