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

Function test_cloudpickle

dask/tests/test_delayed.py:855–858  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

853 "f", [delayed(modlevel_eager), modlevel_delayed1, modlevel_delayed2]
854)
855def test_cloudpickle(f):
856 d = f(2)
857 d = cloudpickle.loads(cloudpickle.dumps(d, protocol=pickle.HIGHEST_PROTOCOL))
858 assert d.compute() == 3
859
860
861def test_dask_layers():

Callers

nothing calls this directly

Calls 2

fFunction · 0.70
computeMethod · 0.45

Tested by

no test coverage detected