(self)
| 329 | self._done_callbacks = [] |
| 330 | |
| 331 | def _invoke_callbacks(self): |
| 332 | for callback in self._done_callbacks: |
| 333 | try: |
| 334 | callback(self) |
| 335 | except Exception: |
| 336 | LOGGER.exception('exception calling callback for %r', self) |
| 337 | |
| 338 | def __repr__(self): |
| 339 | with self._condition: |
no test coverage detected