[issue38763] mock with side effect : assert_called_once returns None while call_count returns 1

Karthikeyan Singaravelan report at bugs.python.org
Tue Nov 12 06:27:28 EST 2019


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

I think we can close this as not a bug. I don't think we need to add boolean return value of True if the assert statements are True since it's never meant to be used. I would wait for others opinion on this.

----------
nosy: +cjw296, lisroach, mariocj89, michael.foord

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


More information about the Python-bugs-list mailing list