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

Method test_nested_tasks

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

Source from the content-addressed store, hash-verified

127 assert self.get(d, "y") == 2
128
129 def test_nested_tasks(self):
130 d = {"x": 1, "y": (inc, "x"), "z": (add, (inc, "x"), "y")}
131
132 assert self.get(d, "z") == 4
133
134 def test_get_stack_limit(self):
135 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