summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authordavidair <davidair@users.noreply.github.com>2018-08-17 19:09:58 (GMT)
committerGregory P. Smith <greg@krypto.org>2018-08-17 19:09:58 (GMT)
commit2b32da2fea1f077bb07a175f97ad8241e5605169 (patch)
treefe64646c6d5ed966536ecb846ac59c8e865ebd15 /Misc
parenta2510732da4c75789cc1750a034bdc9d9fdffb5b (diff)
downloadcpython-2b32da2fea1f077bb07a175f97ad8241e5605169.zip
cpython-2b32da2fea1f077bb07a175f97ad8241e5605169.tar.gz
cpython-2b32da2fea1f077bb07a175f97ad8241e5605169.tar.bz2
Improve error message when mock.assert_has_calls fails (GH-8205)
This makes the assertion error message more useful, aiding debugging. Thanks @davidair!
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2018-07-10-18-53-46.bpo-0.UBQJBc.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2018-07-10-18-53-46.bpo-0.UBQJBc.rst b/Misc/NEWS.d/next/Tests/2018-07-10-18-53-46.bpo-0.UBQJBc.rst
new file mode 100644
index 0000000..9d82677
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2018-07-10-18-53-46.bpo-0.UBQJBc.rst
@@ -0,0 +1 @@
+Improved an error message when mock assert_has_calls fails.