callable with `__bool__` raising should still be inspect-able.
| 151 | |
| 152 | |
| 153 | class NoBoolCall: |
| 154 | """ |
| 155 | callable with `__bool__` raising should still be inspect-able. |
| 156 | """ |
| 157 | |
| 158 | def __call__(self): |
| 159 | """does nothing""" |
| 160 | pass |
| 161 | |
| 162 | def __bool__(self): |
| 163 | """just raise NotImplemented""" |
| 164 | raise NotImplementedError("Must be implemented") |
| 165 | |
| 166 | |
| 167 | class SerialLiar(object): |
no outgoing calls
searching dependent graphs…