Author r.david.murray
Recipients Amir, Darragh Bailey, anthonypjshaw, aviso, cjw296, lisroach, mariocj89, michael.foord, pconnell, r.david.murray, rbcollins, xtreak
Date 2020-03-28.13:39:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585402767.4.0.329329407853.issue39966@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-03-28 13:39:27r.david.murraysetrecipients: + r.david.murray, rbcollins, cjw296, michael.foord, pconnell, Darragh Bailey, lisroach, anthonypjshaw, mariocj89, aviso, xtreak, Amir
2020-03-28 13:39:27r.david.murraysetmessageid: <1585402767.4.0.329329407853.issue39966@roundup.psfhosted.org>
2020-03-28 13:39:27r.david.murraylinkissue39966 messages
2020-03-28 13:39:27r.david.murraycreate