python-pytest-timeout - Pytest plugin to abort hanging tests - Python 2.X

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-pytest-timeout
Package version 0.4
Package release 2
Package architecture all
Package type deb
Installed size 49 B
Download size 11.88 KB
Official Mirror
This is a plugin which will terminate tests after a certain timeout.
When doing so it will show a stack dump of all threads running at the
time. This is useful when running tests under a continuous integration
server or simply if you don’t know why the test suite hangs.
Note that while by default on POSIX systems py.test will continue to
execute the tests after a test has timed, out this is not always
possible. Often the only sure way to interrupt a hanging test is by
terminating the entire process. As this is a hard termination
(os._exit()) it will result in no teardown, JUnit XML output etc. But
the plugin will ensure you will have the debugging output on stderr
nevertheless, which is the most important part at this stage. See below
for detailed information on the timeout methods and their side-effects.
The pytest-timeout plugin has been tested on Python 2.6 or higher,
including 3.X and pypy.
This package provides support for Python 2.X.


Package Version Architecture Repository
python-pytest-timeout_0.4-2_all.deb 0.4 all Ubuntu Universe
python-pytest-timeout - - -


Name Value
python-pytest -
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-pytest-timeout_0.4-2_all.deb
Source Package python-pytest-timeout

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-pytest-timeout deb package:
    # sudo apt-get install python-pytest-timeout




2015-08-17 - gustavo panizzo <>
python-pytest-timeout (0.4-2) unstable; urgency=medium
* Call tests from debian/rules, fix FTBFS (Closes: #795001).
2015-02-28 - gustavo panizzo <>
python-pytest-timeout (0.4-1) unstable; urgency=low
* Initial release. (Closes: #779417)

See Also

Package Description
python-pytest-tornado_0.4.4-1_all.deb py.test plugin to test Tornado applications
python-pytest-xdist_1.8-0.1_all.deb xdist plugin for py.test
python-pytest_2.8.7-4_all.deb Simple, powerful testing in Python
python-pyth_0.6.0-1_all.deb Python text markup and conversion
python-pythoncard_0.8.2-5_all.deb wxPython-based GUI construction framework (underlying Python libraries)
python-pythonmagick_0.9.11-2ubuntu2_amd64.deb Object-oriented Python interface to ImageMagick
python-pytils-doc_0.3-1_all.deb Python library for processing strings in Russian (documentation)
python-pytils_0.3-1_all.deb Python library for processing strings in Russian (Python 2)
python-pytimeparse_1.1.5-1_all.deb time expression parser - Python 2.x
python-pytoml_0.1.2-1_all.deb TOML parser and emitter for Python2
python-pytools_2015.1.6-1_all.deb big bag of things supplementing Python standard library
python-pytyrant_1.1.17-1.2_amd64.deb Pure Python client implementation of the Tokyo Tyrant protocol
python-pyuca_1.1-3_all.deb Unicode Collation Algorithm (UCA) for Python
python-pyudev_0.16.1-3_all.deb Python bindings for libudev
python-pyvcf-examples_0.6.7-2build1_all.deb Example data for Variant Call Format (VCF) parser for Python