How to Install and Uninstall python3-mock-open Package on Kali Linux

Last updated: September 28,2024

1. Install "python3-mock-open" package

Learn how to install python3-mock-open on Kali Linux

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

2. Uninstall "python3-mock-open" package

Please follow the step by step instructions below to uninstall python3-mock-open on Kali Linux:

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

3. Information about the python3-mock-open package on Kali Linux

Package: python3-mock-open
Source: python-mock-open
Version: 1.4.0-2
Installed-Size: 74
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Size: 13536
SHA256: d3037e9aa5b41df216669a05863194a0fc1c74f9c12f62dd61c7d1efd68d960b
SHA1: 7c743a19f3d341dda1c874a454574c5d17fe34a3
MD5sum: 1715816938e47c719099f636d9ae8f81
Description: Better mock for file I/O
The MockOpen class should work as a stand-in replacement for mock.mock_open
with some added features (though it tries to conform to how the builtin 'open'
works where the two differ).
.
Features include:
.
* Multiple file support, including a mapping-like access to file mocks by
path.
* Persistent file contents between calls to `open`.
* All the regular file operations: 'read', 'readline', 'readlines', 'write',
'writelines', 'seek', 'tell'.
Description-md5:
Homepage: https://github.com/nivbend/mock-open
Section: python
Priority: optional
Filename: pool/main/p/python-mock-open/python3-mock-open_1.4.0-2_all.deb