()
| 320 | |
| 321 | |
| 322 | def test_inline_traverses_lists(): |
| 323 | x, y, i, d = "xyid" |
| 324 | dsk = {"out": (sum, [i, d]), i: (inc, x), d: (double, y), x: 1, y: 1} |
| 325 | expected = {"out": (sum, [(inc, x), d]), d: (double, y), x: 1, y: 1} |
| 326 | result = inline_functions(dsk, [], fast_functions={inc}) |
| 327 | assert result == expected |
| 328 | |
| 329 | |
| 330 | def test_inline_functions_protects_output_keys(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…