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

Function test_delayed_callable

dask/tests/test_delayed.py:675–679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673
674
675def test_delayed_callable():
676 f = delayed(add, pure=True)
677 v = f(1, 2)
678 assert v.compute() == 3
679 assert f.compute() == add
680
681
682def test_delayed_name_on_call():

Callers

nothing calls this directly

Calls 3

delayedFunction · 0.90
fFunction · 0.70
computeMethod · 0.45

Tested by

no test coverage detected