Skip to content

Commit bb539d8

Browse files
authored
Fix test_distributed::test_async (#10138)
1 parent 8ba2707 commit bb539d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_distributed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ async def test_async(c, s, a, b) -> None:
283283
assert dask.is_dask_collection(y.var1)
284284
assert dask.is_dask_collection(y.var2)
285285

286-
z = y.persist()
286+
z = c.persist(y)
287287
assert str(z)
288288

289289
assert dask.is_dask_collection(z)

0 commit comments

Comments
 (0)