diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-03 21:54:22 (GMT) |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2018-12-03 21:54:22 (GMT) |
commit | 67e6136a6d5c07141d4dba820c450a70db7aedd5 (patch) | |
tree | eaba550bcd0c987342ca2db2893b350e7a156939 /Misc/NEWS.d | |
parent | 0f9b6687eb8b26dd804abcc6efd4d6430ae16f24 (diff) | |
download | cpython-67e6136a6d5c07141d4dba820c450a70db7aedd5.zip cpython-67e6136a6d5c07141d4dba820c450a70db7aedd5.tar.gz cpython-67e6136a6d5c07141d4dba820c450a70db7aedd5.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst b/Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst new file mode 100644 index 0000000..b95cc97 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst @@ -0,0 +1,3 @@ +Recursively check arguments when testing for equality of +:class:`unittest.mock.call` objects and add note that tracking of parameters +used to create ancestors of mocks in ``mock_calls`` is not possible. |