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

Function test_split_every_lt2

dask/dataframe/dask_expr/tests/test_reductions.py:195–198  ·  view source on GitHub ↗
(df, reduction, split_every)

Source from the content-addressed store, hash-verified

193 ],
194)
195def test_split_every_lt2(df, reduction, split_every):
196 with pytest.raises(ValueError, match="split_every must be greater than 1 or False"):
197 # TODO validate parameters before graph materialization
198 getattr(df.x, reduction)(split_every=split_every).__dask_graph__()
199
200
201@pytest.mark.parametrize("split_every", [-1, 0, 1])

Callers

nothing calls this directly

Calls 1

__dask_graph__Method · 0.45

Tested by

no test coverage detected