How to Install and Uninstall python3-pytest Package on openSUSE Leap

Last updated: November 23,2024

1. Install "python3-pytest" package

This tutorial shows how to install python3-pytest on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-pytest

2. Uninstall "python3-pytest" package

Learn how to uninstall python3-pytest on openSUSE Leap:

$ sudo zypper remove python3-pytest

3. Information about the python3-pytest package on openSUSE Leap

Information for package python3-pytest:
---------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python3-pytest
Version : 5.4.3-150400.5.73
Arch : noarch
Vendor : SUSE LLC
Installed Size : 2.2 MiB
Installed : No
Status : not installed
Source package : python3-pytest-5.4.3-150400.5.73.src
Upstream URL : https://github.com/pytest-dev/pytest
Summary : Python testing tool with autodiscovery and detailed asserts
Description :
pytest is a cross-project Python testing tool. It provides:
* auto-discovery of test modules and functions,
* detailed info on failing assert statements (no need to remember
self.assert* names),
* modular fixtures for managing small or parametrized long-lived test resources.
* multi-paradigm support: you can use py.test to run test suites based on
unittest (or trial), nose,
* single-source compatibility to Python2.4 all the way up to Python3.3,
PyPy-1.9 and Jython-2.5.1, and
* many external plugins.