Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _
Function
_
dask/tests/test_task_spec.py:360–365 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
358
359
@gen_test()
360
async
def
_():
361
362
t = Task(
"key-1"
, afunc,
"a"
,
"b"
)
363
assert t.is_coro
364
assert await t() ==
"ab"
365
assert await pickle.loads(pickle.dumps(t))() ==
"ab"
366
367
_()
368
Callers
1
test_async_func
Function · 0.70
Calls
1
Task
Class · 0.90
Tested by
no test coverage detected