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

Function test_iloc_errors

dask/dataframe/dask_expr/tests/test_indexing.py:32–38  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

30
31
32def test_iloc_errors(df):
33 with pytest.raises(NotImplementedError):
34 df.iloc[1]
35 with pytest.raises(NotImplementedError):
36 df.iloc[1, 1]
37 with pytest.raises(ValueError, match="Too many"):
38 df.iloc[(1, 2, 3)]
39
40
41def test_loc_slice(pdf, df):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected