]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Dec 2018 21:54:44 +0000 (13:54 -0800)
committerChris Withers <chris@withers.org>
Mon, 3 Dec 2018 21:54:44 +0000 (21:54 +0000)
commite8f9e4785caeef8a68bb7859280e91a4cb424b79
tree32b8764318bfdcab8be3df285a57e55be26a46bd
parentfe91e9ba08a8854e2149398386702828fe3c0038
bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555)

Also refactor the call recording imolementation and add some notes
about its limitations.
(cherry picked from commit 8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68)

Co-authored-by: Chris Withers <chris@withers.org>
Doc/library/unittest.mock-examples.rst
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testhelpers.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst [new file with mode: 0644]