There's a new minor release of mock, version 0.7.2, with two bugfixes in it.
mock is a Python library for simple mocking and patching (replacing objects with mocks during test runs). mock is designed for use with unittest, based on the "action -> assertion" pattern rather than "record -> replay".
The full changelog for this release is:
side_effecton the mocks used for
The most important change is the second one, which fixes an oddity with the way equality comparisons with MagicMock work(ed). For more details on this change, and the motivation behind it, see this blog entry: