MCPcopy
hub / github.com/dask/dask / test_with_HighLevelGraph

Method test_with_HighLevelGraph

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

Source from the content-addressed store, hash-verified

122 assert self.get(d, "x10000") == 10000
123
124 def test_with_HighLevelGraph(self):
125 from dask.highlevelgraph import HighLevelGraph
126
127 layers = {"a": {"x": 1, "y": (inc, "x")}, "b": {"z": (add, (inc, "x"), "y")}}
128 dependencies = {"a": (), "b": {"a"}}
129 graph = HighLevelGraph(layers, dependencies)
130 assert self.get(graph, "z") == 4
131
132
133def import_or_none(name):

Callers

nothing calls this directly

Calls 2

HighLevelGraphClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected