MCPcopy Index your code
hub / github.com/dask/dask / test_inline_traverses_lists

Function test_inline_traverses_lists

dask/tests/test_optimization.py:322–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320
321
322def 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
330def test_inline_functions_protects_output_keys():

Callers

nothing calls this directly

Calls 1

inline_functionsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…