()
| 289 | |
| 290 | |
| 291 | def test_inline_ignores_curries_and_partials(): |
| 292 | dsk = {"x": 1, "y": 2, "a": (partial(add, 1), "x"), "b": (inc, "a")} |
| 293 | |
| 294 | result = inline_functions(dsk, [], fast_functions={add}) |
| 295 | assert result["b"] == (inc, dsk["a"]) |
| 296 | assert "a" not in result |
| 297 | |
| 298 | |
| 299 | def test_inline_functions_non_hashable(): |
nothing calls this directly
no test coverage detected