mock==5.2.0
# Rolling backport of unittest.mock for all Pythons
$ pip install mock
downloads/wk
6,947,062
license
version
5.2.0
python
>=3.6
What is mock?
The mock package is a backport of Python's built-in unittest.mock module that works across older Python versions. Developers use it to create mock objects for testing, allowing them to isolate code under test by replacing dependencies with controlled substitutes. It's useful when you need to test code on Python versions that don't have the standard library mock module built in.
Author
Testing Cabal