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

Function test_get_dependencies_nested

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

Source from the content-addressed store, hash-verified

115
116
117def test_get_dependencies_nested():
118 dsk = {"x": 1, "y": 2, "z": (add, (inc, [["x"]]), "y")}
119
120 assert get_dependencies(dsk, "z") == {"x", "y"}
121 assert sorted(get_dependencies(dsk, "z", as_list=True)) == ["x", "y"]
122
123
124def test_get_dependencies_empty():

Callers

nothing calls this directly

Calls 1

get_dependenciesFunction · 0.90

Tested by

no test coverage detected