]> 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:22 +0000 (13:54 -0800)
committerChris Withers <chris@withers.org>
Mon, 3 Dec 2018 21:54:22 +0000 (21:54 +0000)
commit67e6136a6d5c07141d4dba820c450a70db7aedd5
treeeaba550bcd0c987342ca2db2893b350e7a156939
parent0f9b6687eb8b26dd804abcc6efd4d6430ae16f24
bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555)

Also refactor the call recording implementation 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]