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

Last updated: November 23,2024

1. Install "python2-pytest" package

This guide let you learn how to install python2-pytest on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pytest

2. Uninstall "python2-pytest" package

Please follow the guidance below to uninstall python2-pytest on openSUSE Leap:

$ sudo zypper remove python2-pytest

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

Information for package python2-pytest:
---------------------------------------
Repository : Main Repository
Name : python2-pytest
Version : 3.10.1-bp153.1.106
Arch : noarch
Vendor : openSUSE
Installed Size : 2,2 MiB
Installed : No
Status : not installed
Source package : python-pytest-3.10.1-bp153.1.106.src
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.

5. The same packages on other Linux Distributions