[issue42532] spec_arg's __bool__ is called while initializing NonCallableMock

Karthikeyan Singaravelan report at bugs.python.org
Fri Dec 4 07:48:02 EST 2020


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

The fix to check for None seems straightforward to me and is only needed for AsyncMock. I would wait for others thoughts on this.

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

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


More information about the Python-bugs-list mailing list