skip to navigation
skip to content

mock 1.3.0

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 2.6 and up, and 3.2 and up.

Please see the standard library documentation for more details.


Mock Homepage


Mock on PyPI


Python Docs


BSD License


Mailing list (

Issue tracker:

Github Issues

Build status:
File Type Py Version Uploaded on Size
mock-1.3.0-py2.py3-none-any.whl (md5, pgp) Python Wheel 2.7 2015-07-23 54KB
mock-1.3.0.tar.gz (md5, pgp) Source 2015-07-23 69KB
  • Downloads (All Versions):
  • 40484 downloads in the last day
  • 344199 downloads in the last week
  • 1404939 downloads in the last month