(self)
| 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 | |
| 133 | def import_or_none(name): |
nothing calls this directly
no test coverage detected