summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChris Withers <chris@withers.org>2018-12-03 21:31:37 (GMT)
committerGitHub <noreply@github.com>2018-12-03 21:31:37 (GMT)
commit8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68 (patch)
treec1af80e0a0ee140f84cf87b02caca5e5d9ed67d5 /Misc
parent3bc0ebab17bf5a2c29d2214743c82034f82e6573 (diff)
downloadcpython-8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68.zip
cpython-8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68.tar.gz
cpython-8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68.tar.bz2
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
Also refactor the call recording imolementation and add some notes about its limitations.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-11-15-07-14-32.bpo-35226.wJPEEe.rst3
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.