How to Install and Uninstall python3-pytest-mock Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 07,2024

1. Install "python3-pytest-mock" package

Please follow the step by step instructions below to install python3-pytest-mock on Ubuntu 22.10 (Kinetic Kudu)

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

2. Uninstall "python3-pytest-mock" package

In this section, we are going to explain the necessary steps to uninstall python3-pytest-mock on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the python3-pytest-mock package on Ubuntu 22.10 (Kinetic Kudu)

Package: python3-pytest-mock
Architecture: all
Version: 3.8.2-2
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: 53
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.8.2-2_all.deb
Size: 10506
MD5sum: 4940898eacb025385c0a6042d1c3b5c9
SHA1: 28667e29947b62ec77043073194c0b24b47bb865
SHA256: bd4d82cf7764ced8ea1dc5cbb26571f1f84835058b5b5b20b3ccdba39de62057
SHA512: 4ee6b41660929032711b18e2ff985694cfa5f196c1f581398bb05414bae1a0996b78f370e6ab7361228f295f7708034d85bca7bf3f9bba644b9d9da5dbcf4651
Homepage: https://github.com/pytest-dev/pytest-mock/
Description: Thin wrapper around mock for easier use with pytest (Python 3 module)
Description-md5: b24ff55caeb8c990800fbfdbd8d385c0