How to Install and Uninstall python2-pytest-mock.noarch Package on CentOS Stream 8

Last updated: March 02,2025

1. Install "python2-pytest-mock.noarch" package

Please follow the guidance below to install python2-pytest-mock.noarch on CentOS Stream 8

$ sudo dnf update $ sudo dnf install python2-pytest-mock.noarch

2. Uninstall "python2-pytest-mock.noarch" package

This is a short guide on how to uninstall python2-pytest-mock.noarch on CentOS Stream 8:

$ sudo dnf remove python2-pytest-mock.noarch $ sudo dnf autoremove

3. Information about the python2-pytest-mock.noarch package on CentOS Stream 8

Last metadata expiration check: 4:31:03 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : python2-pytest-mock
Version : 1.9.0
Release : 4.module_el8+570+db61b4f9
Architecture : noarch
Size : 22 k
Source : python-pytest-mock-1.9.0-4.module_el8+570+db61b4f9.src.rpm
Repository : appstream
Summary : Thin-wrapper around the mock package for easier use with py.test
URL : https://pypi.python.org/pypi/pytest-mock
License : MIT
Description : This plugin installs a mocker fixture which is a thin-wrapper around the
: patching API provided by the mock package, but with the benefit of not having
: to worry about undoing patches at the end of a test.