How to Install and Uninstall python-pytest-mock Package on Debian 10 (Buster)

Last updated: May 15,2024

1. Install "python-pytest-mock" package

This is a short guide on how to install python-pytest-mock on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-pytest-mock

2. Uninstall "python-pytest-mock" package

Please follow the steps below to uninstall python-pytest-mock on Debian 10 (Buster):

$ sudo apt remove python-pytest-mock $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-pytest-mock package on Debian 10 (Buster)

Package: python-pytest-mock
Source: pytest-mock
Version: 1.7.1-1
Installed-Size: 52
Maintainer: Debian Python Modules Team
Architecture: all
Depends: python-pytest, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-mock (>= 2), python-pytest (>= 3.0.3) | python-pytest (<< 3)
Description: thin-wrapper around mock for easier use with py.test (Python 2 module)
Description-md5: b8231bbaa75c251f441f5835b1ad3e87
Homepage: https://github.com/pytest-dev/pytest-mock/
Python-Egg-Name: pytest-mock
Section: python
Priority: optional
Filename: pool/main/p/pytest-mock/python-pytest-mock_1.7.1-1_all.deb
Size: 17112
MD5sum: 687a5ab78e8af9a21f73ee170403c7af
SHA256: 284cca61c1f5229d3fb4a6b93f0b58edaeb39fde3f31b8bc18d38923557b1916