Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_pickle
Function
test_pickle
dask/tests/test_delayed.py:846–849 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
844
],
845
)
846
def
test_pickle(f):
847
d = f(2)
848
d = pickle.loads(pickle.dumps(d, protocol=pickle.HIGHEST_PROTOCOL))
849
assert d.compute() == 3
850
851
852
@pytest.mark.parametrize(
Callers
nothing calls this directly
Calls
2
f
Function · 0.70
compute
Method · 0.45
Tested by
no test coverage detected