How to Install and Uninstall python3-pytest-mock Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 25,2024

1. Install "python3-pytest-mock" package

This guide covers the steps necessary to install python3-pytest-mock on Ubuntu 18.04 LTS (Bionic Beaver)

$ 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 Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python3-pytest-mock package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-pytest-mock
Architecture: all
Version: 1.7.1-1
Priority: optional
Section: universe/python
Source: pytest-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44
Depends: python3-pytest, python3:any (>= 3.4~), python3-pytest (>= 3.0.3) | python3-pytest (<< 3)
Filename: pool/universe/p/pytest-mock/python3-pytest-mock_1.7.1-1_all.deb
Size: 10052
MD5sum: 8a586d8226c756775b6411c497414c4f
SHA1: 840bd2329161823ac2ed0dbd091991ffab207e57
SHA256: 77507a4a855f61a4705d6d7626180fc248834f3e5139651dbf34bb0f90c4a148
Homepage: https://github.com/pytest-dev/pytest-mock/
Description: thin-wrapper around mock for easier use with py.test (Python 3 module)
Description-md5: 38c2fbb78ade5094d588f51ccebd7723
Python-Egg-Name: pytest-mock