()
| 1315 | |
| 1316 | |
| 1317 | def test_len(): |
| 1318 | assert len(d) == len(full) |
| 1319 | assert len(d.a) == len(full.a) |
| 1320 | assert len(dd.from_pandas(pd.DataFrame(), npartitions=1)) == 0 |
| 1321 | assert len(dd.from_pandas(pd.DataFrame(columns=[1, 2]), npartitions=1)) == 0 |
| 1322 | # Regression test for https://github.com/dask/dask/issues/6110 |
| 1323 | assert len(dd.from_pandas(pd.DataFrame(columns=["foo", "foo"]), npartitions=1)) == 0 |
| 1324 | |
| 1325 | |
| 1326 | def test_size(): |
nothing calls this directly
no outgoing calls
no test coverage detected