This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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.
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: <>
2020-03-28 13:39:27r.david.murraylinkissue39966 messages
2020-03-28 13:39:27r.david.murraycreate