How to Install and Uninstall python311-pytest-timeout Package on openSUSE Leap
Last updated: November 23,2024
1. Install "python311-pytest-timeout" package
Please follow the guidance below to install python311-pytest-timeout on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python311-pytest-timeout
Copied
2. Uninstall "python311-pytest-timeout" package
Learn how to uninstall python311-pytest-timeout on openSUSE Leap:
$
sudo zypper remove
python311-pytest-timeout
Copied
3. Information about the python311-pytest-timeout package on openSUSE Leap
Information for package python311-pytest-timeout:
-------------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-pytest-timeout
Version : 2.1.0-150400.7.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 70.3 KiB
Installed : No
Status : not installed
Source package : python-pytest-timeout-2.1.0-150400.7.3.9.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.
-------------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-pytest-timeout
Version : 2.1.0-150400.7.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 70.3 KiB
Installed : No
Status : not installed
Source package : python-pytest-timeout-2.1.0-150400.7.3.9.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.