[issue36871] Misleading error from unittest.mock's assert_has_calls

Karthikeyan Singaravelan report at bugs.python.org
Sun May 12 01:28:55 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

This is little tricky to fix since the call-matcher needs the signature and also the information over whether to add self or not for some cases. Similar open issues.

https://bugs.python.org/issue27715
https://bugs.python.org/issue26752

An approach suggested by Mario : https://bugs.python.org/issue26752#msg337023

----------
nosy: +xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36871>
_______________________________________


More information about the Python-bugs-list mailing list