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

Last updated: November 07,2024

1. Install "python3-pyshould" package

This guide covers the steps necessary to install python3-pyshould on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-pyshould

2. Uninstall "python3-pyshould" package

This tutorial shows how to uninstall python3-pyshould on openSUSE Leap:

$ sudo zypper remove python3-pyshould

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

Information for package python3-pyshould:
-----------------------------------------
Repository : Main Repository
Name : python3-pyshould
Version : 0.7.1-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 155.6 KiB
Installed : No
Status : not installed
Source package : python-pyshould-0.7.1-bp155.2.10.src
Upstream URL : https://github.com/drslump/pyshould
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.