How to Install and Uninstall python312-pytest-timeout Package on openSuSE Tumbleweed

Last updated: December 27,2024

1. Install "python312-pytest-timeout" package

Please follow the guidelines below to install python312-pytest-timeout on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-pytest-timeout

2. Uninstall "python312-pytest-timeout" package

This is a short guide on how to uninstall python312-pytest-timeout on openSuSE Tumbleweed:

$ sudo zypper remove python312-pytest-timeout

3. Information about the python312-pytest-timeout package on openSuSE Tumbleweed

Information for package python312-pytest-timeout:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pytest-timeout
Version : 2.2.0-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 73.2 KiB
Installed : No
Status : not installed
Source package : python-pytest-timeout-2.2.0-1.2.src
Upstream URL : https://github.com/pytest-dev/pytest-timeout/
Summary : Pytest plugin to abort hanging tests
Description :
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 pytest 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.