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

Function test_cache_options

dask/tests/test_local.py:102–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102def test_cache_options():
103 cache = {}
104
105 def inc2(x):
106 assert "y" in cache
107 return x + 1
108
109 with dask.config.set(cache=cache):
110 get_sync({"x": (inc2, "y"), "y": 1}, "x")
111
112
113def test_sort_key():

Callers

nothing calls this directly

Calls 2

get_syncFunction · 0.90
setMethod · 0.80

Tested by

no test coverage detected