(exc)
| 328 | |
| 329 | |
| 330 | def _convert_future_exc(exc): |
| 331 | exc_class = type(exc) |
| 332 | if exc_class is concurrent.futures.CancelledError: |
| 333 | return exceptions.CancelledError(*exc.args).with_traceback(exc.__traceback__) |
| 334 | elif exc_class is concurrent.futures.InvalidStateError: |
| 335 | return exceptions.InvalidStateError(*exc.args).with_traceback(exc.__traceback__) |
| 336 | else: |
| 337 | return exc |
| 338 | |
| 339 | |
| 340 | def _set_concurrent_future_state(concurrent, source): |
no outgoing calls
no test coverage detected
searching dependent graphs…