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

Last updated: May 19,2024

1. Install "python2-datadiff" package

This tutorial shows how to install python2-datadiff on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-datadiff

2. Uninstall "python2-datadiff" package

Please follow the instructions below to uninstall python2-datadiff on openSUSE Leap:

$ sudo zypper remove python2-datadiff

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

Information for package python2-datadiff:
-----------------------------------------
Repository : Main Repository
Name : python2-datadiff
Version : 2.2.0-bp153.1.23
Arch : noarch
Vendor : openSUSE
Installed Size : 41,7 KiB
Installed : No
Status : not installed
Source package : python-datadiff-2.2.0-bp153.1.23.src
Summary : DataDiff is a library to provide human-readable diffs of python data structures
Description :
DataDiff is a library to provide human-readable diffs of python data structures.
It can handle sequence types (lists, tuples, etc), sets, and dictionaries.
Dictionaries and sequences will be diffed recursively, when applicable.
It has special-case handling for multi-line strings, showing them as a typical unified diff.
Drop-in replacements for some nose assertions are available. If the assertion fails,
a nice data diff is shown, letting you easily pinpoint the root difference.