How to Install and Uninstall python3-pytest-mock Package on Debian 12 (Bookworm)

Last updated: May 10,2024

1. Install "python3-pytest-mock" package

Learn how to install python3-pytest-mock on Debian 12 (Bookworm)

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

2. Uninstall "python3-pytest-mock" package

This guide covers the steps necessary to uninstall python3-pytest-mock on Debian 12 (Bookworm):

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

3. Information about the python3-pytest-mock package on Debian 12 (Bookworm)

Package: python3-pytest-mock
Source: pytest-mock
Version: 3.8.2-3
Installed-Size: 59
Maintainer: Debian Python Team
Architecture: all
Depends: python3-pytest (>= 7.1.2), python3:any
Suggests: python-pytest-mock-doc, python3-mock
Description: Thin wrapper around mock for easier use with pytest (Python 3 module)
Description-md5: b24ff55caeb8c990800fbfdbd8d385c0
Homepage: https://github.com/pytest-dev/pytest-mock/
Section: python
Priority: optional
Filename: pool/main/p/pytest-mock/python3-pytest-mock_3.8.2-3_all.deb
Size: 16500
MD5sum: ce71f0fe2159c64ba0551ae95c6fe29c
SHA256: 006e615a9bcafb41b706213b4e62ae92b10b585b8505726d645694dc2c03b9c2