Rolling backport of unittest.mock for all Pythons
mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.
mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.
This package contains a rolling backport of the standard library mock code compatible with Python 3.6 and up.
Please see the standard library documentation for more details.
- Issue tracker:
- Build status:
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
mock-5.0.1.tar.gz (77.1 kB view hashes)
mock-5.0.1-py3-none-any.whl (30.0 kB view hashes)