Message365211
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:27 | r.david.murray | set | recipients:
+ r.david.murray, rbcollins, cjw296, michael.foord, pconnell, Darragh Bailey, lisroach, anthonypjshaw, mariocj89, aviso, xtreak, Amir |
2020-03-28 13:39:27 | r.david.murray | set | messageid: <1585402767.4.0.329329407853.issue39966@roundup.psfhosted.org> |
2020-03-28 13:39:27 | r.david.murray | link | issue39966 messages |
2020-03-28 13:39:27 | r.david.murray | create | |
|