R. David Murray <rdmur...@bitdance.com> added the comment:

My guess is that it isn't so much that __bool__ is special, as that the 
evaluation of values in a boolean context is special.  What you have to do to 
make a mock behave "correctly" in the face that I'm not sure (I haven't 
investigated).  And I might be wrong.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to