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

Function test_bool

dask/dataframe/dask_expr/tests/test_collection.py:271–275  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

269
270
271def test_bool(df):
272 conditions = [df, df["x"], df == df, df["x"] == df["x"]]
273 for cond in conditions:
274 with pytest.raises(ValueError):
275 bool(cond)
276
277
278def test_squeeze():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected