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

Serhiy Storchaka report at bugs.python.org
Wed May 22 08:46:46 EDT 2019


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

alist.extend([]) is also a special case, but it is not explicitly documented, because it is not exceptional.

----------

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


More information about the Python-bugs-list mailing list