MCPcopy
hub / github.com/dask/dask / test_nested_tasks

Method test_nested_tasks

dask/utils_test.py:114–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 assert self.get(d, "y") == 2
113
114 def test_nested_tasks(self):
115 d = {"x": 1, "y": (inc, "x"), "z": (add, (inc, "x"), "y")}
116
117 assert self.get(d, "z") == 4
118
119 def test_get_stack_limit(self):
120 d = {f"x{i + 1}": (inc, f"x{i}") for i in range(10000)}

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected