mock: mock (unit test library for Python 2) mock: mock: mock is a library for testing in Python 2. It allows you to replace mock: parts of your system under test with mock objects and make assertions mock: about how they have been used. mock: mock: IMPORTANT: For Python3 you do not need this module. Please use the mock: standard library instead (unittest.mock). This package contains a mock: rolling backport of the standard library compatible with Python 2.7. mock: mock: