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

Function test_get

dask/tests/test_threaded.py:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_get():
21 dsk = {"x": 1, "y": 2, "z": (inc, "x"), "w": (add, "z", "y")}
22 assert get(dsk, "w") == 4
23 assert get(dsk, ["w", "z"]) == (4, 2)
24
25
26def test_nested_get():

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected