You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since dask/distributed#3706gen_cluster requires functions decorated with it to be coroutines. We use it twice in test_distributed.py: on test_async and on test_serializable_locks, which both are pre-3.5 style coroutines (yield / yield from instead of async / await) but not marked as such (I'm not sure what pytest does with coroutines).
I think this should be a pretty strait-forward fix: replace def with async def and yield / yield from with await.
The text was updated successfully, but these errors were encountered:
Since dask/distributed#3706
gen_cluster
requires functions decorated with it to be coroutines. We use it twice intest_distributed.py
: ontest_async
and ontest_serializable_locks
, which both are pre-3.5 style coroutines (yield
/yield from
instead ofasync
/await
) but not marked as such (I'm not sure whatpytest
does with coroutines).I think this should be a pretty strait-forward fix: replace
def
withasync def
andyield
/yield from
withawait
.The text was updated successfully, but these errors were encountered: