How to Install and Uninstall python3-pytest-mock Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 07,2024

1. Install "python3-pytest-mock" package

Please follow the guidelines below to install python3-pytest-mock on Ubuntu 23.10 (Mantic Minotaur)

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

2. Uninstall "python3-pytest-mock" package

Please follow the guidelines below to uninstall python3-pytest-mock on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the python3-pytest-mock package on Ubuntu 23.10 (Mantic Minotaur)

Package: python3-pytest-mock
Architecture: all
Version: 3.11.1-1
Priority: optional
Section: universe/python
Source: pytest-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 56
Depends: python3-pytest (>= 7.1.2), python3:any
Suggests: python-pytest-mock-doc, python3-mock
Filename: pool/universe/p/pytest-mock/python3-pytest-mock_3.11.1-1_all.deb
Size: 10964
MD5sum: f32cc9243ab38871258b1b26b6aa11ad
SHA1: 4da27683e0c4d7f7d0fbad3e0c1d8f7a4a6de13c
SHA256: 8ff11849372aca4d52b94e71ba00e88b170bcd2a3829bbe797770b605fcdada8
SHA512: 0c3ea98976fc10badcae3139c9a86f105c06e531a6897b8b4524df787d1f23a0841f39f839efa5b615228a1d6bd58d08f5475f50973a01cba5339ea2bbd03614
Homepage: https://github.com/pytest-dev/pytest-mock/
Description: Thin wrapper around mock for easier use with pytest (Python 3 module)
Description-md5: b24ff55caeb8c990800fbfdbd8d385c0