(self)
| 335 | self._done_callbacks = [] |
| 336 | |
| 337 | def _invoke_callbacks(self): |
| 338 | for callback in self._done_callbacks: |
| 339 | try: |
| 340 | callback(self) |
| 341 | except Exception: |
| 342 | LOGGER.exception('exception calling callback for %r', self) |
| 343 | |
| 344 | def __repr__(self): |
| 345 | with self._condition: |
no test coverage detected