How to Install and Uninstall python3-pytest-timeout Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "python3-pytest-timeout" package

Here is a brief guide to show you how to install python3-pytest-timeout on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-pytest-timeout

2. Uninstall "python3-pytest-timeout" package

Please follow the guidelines below to uninstall python3-pytest-timeout on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-pytest-timeout $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-pytest-timeout package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-pytest-timeout
Priority: optional
Section: universe/python
Installed-Size: 49
Maintainer: Ubuntu Developers
Original-Maintainer: gustavo panizzo
Architecture: all
Source: python-pytest-timeout
Version: 0.4-2
Depends: python3-pytest, python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-pytest-timeout/python3-pytest-timeout_0.4-2_all.deb
Size: 12258
MD5sum: d7a7c53ca213122cfaf62c6389be9363
SHA1: abf40ff0149456c46916089349a3999a4c77b0f5
SHA256: 1c1bd856ee33ae46f8e5e0130ec9be7c613dc9c423224d083a9cf7c8f3f97e29
Description-en: Pytest plugin to abort hanging tests - Python 3.X
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 3.X.
Description-md5: a97a5f9cc90db9db11d2a8e6e7130ba3
Homepage: http://bitbucket.org/flub/pytest-timeout/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu