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

Last updated: December 27,2024

1. Install "python2-pyshould" package

Please follow the guidelines below to install python2-pyshould on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pyshould

2. Uninstall "python2-pyshould" package

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

$ sudo zypper remove python2-pyshould

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

Information for package python2-pyshould:
-----------------------------------------
Repository : Main Repository
Name : python2-pyshould
Version : 0.7.1-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 119,1 KiB
Installed : No
Status : not installed
Source package : python-pyshould-0.7.1-bp153.1.14.src
Summary : Should style asserts
Description :
PyShould is a Python DSL allowing to write expectations or assertions
in almost natural language. The goal is to offer an expressive yet
readable syntax to define the expectations in detail.
Under the hood it uses the PyHamcrest library of matchers to build
complex matching predicates and great explanations when there is a
mismatch.
Its primary use case is in unit testing, replacing the need for
Python's native assertX methods. Its use is completely transparent
to the unit testing runner used, since mismatches are reported using
the standard AssertionError.