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

Function test_get_dependencies_task

dask/tests/test_core.py:136–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134
135
136def test_get_dependencies_task():
137 dsk = {"x": 1, "y": 2, "z": ["x", [(inc, "y")]]}
138 assert get_dependencies(dsk, task=(inc, "x")) == {"x"}
139 assert get_dependencies(dsk, task=(inc, "x"), as_list=True) == ["x"]
140
141
142def test_get_dependencies_nothing():

Callers

nothing calls this directly

Calls 1

get_dependenciesFunction · 0.90

Tested by

no test coverage detected