MCPcopy Create free account
hub / github.com/dask/dask / test_delayed_future

Function test_delayed_future

dask/tests/test_distributed.py:1089–1094  ·  view source on GitHub ↗
(c, s, a, b)

Source from the content-addressed store, hash-verified

1087
1088@gen_cluster(client=True)
1089async def test_delayed_future(c, s, a, b):
1090 fut = await c.scatter(1)
1091 result = dask.delayed(fut)
1092 res = await c.compute(result)
1093 assert res == 1
1094 assert result.key == fut.key

Callers

nothing calls this directly

Calls 1

computeMethod · 0.45

Tested by

no test coverage detected