How to Install and Uninstall python3-pytest-timeout Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 30,2024

1. Install "python3-pytest-timeout" package

Please follow the instructions below to install python3-pytest-timeout on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "python3-pytest-timeout" package

Learn how to uninstall python3-pytest-timeout on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-pytest-timeout package on Ubuntu 21.10 (Impish Indri)

Package: python3-pytest-timeout
Architecture: all
Version: 1.4.1-1
Priority: optional
Section: universe/python
Source: python-pytest-timeout
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Depends: python3-pytest, python3:any
Filename: pool/universe/p/python-pytest-timeout/python3-pytest-timeout_1.4.1-1_all.deb
Size: 16748
MD5sum: b4b341362ea8e385324a9fae7ef8ea1b
SHA1: 4a73cadfd5e76c408bc6f8935013143b6710a22b
SHA256: f5313f61a54cf3aa63540ac4fa0162ee6a399d918ce4fc26ce46c0a65283b978
SHA512: 947b15a0a55227925abef99d87e93e9733188af049ba50f2a9a0e13825ea64e8b61310e0cd9ba7fad4d5c041fcd5c5e4ea05cc79305395589fef39f28fbcda83
Homepage: https://github.com/pytest-dev/pytest-timeout
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