[docs] [issue24653] Mock.assert_has_calls([]) is surprising for users

Serhiy Storchaka report at bugs.python.org
Fri Nov 16 09:05:11 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Why this case should be explicitly mentioned? Is it an exception from some rules? Is the empty list special? Does existing documentation say that assert_has_calls([]) should raise an exception?

----------
nosy: +serhiy.storchaka

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


More information about the docs mailing list