(future, other)
| 385 | dest_loop = _get_loop(destination) if isfuture(destination) else None |
| 386 | |
| 387 | def _set_state(future, other): |
| 388 | if isfuture(future): |
| 389 | _copy_future_state(other, future) |
| 390 | else: |
| 391 | _set_concurrent_future_state(future, other) |
| 392 | |
| 393 | def _call_check_cancel(destination): |
| 394 | if destination.cancelled(): |
no test coverage detected