MCPcopy Create free account
hub / github.com/dask/dask / test_name

Function test_name

dask/dataframe/dask_expr/tests/test_fusion.py:128–133  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

126
127
128def test_name(df):
129 out = (df["x"] + df["y"]) - 1
130 fused = optimize(out, fuse=True)
131 assert "getitem" in str(fused.expr)
132 assert "sub" in str(fused.expr)
133 assert str(fused.expr) == str(fused.expr).lower()
134
135
136def test_fusion_executes_only_once():

Callers

nothing calls this directly

Calls 1

optimizeFunction · 0.90

Tested by

no test coverage detected