()
| 572 | |
| 573 | |
| 574 | def test_skipinitialspace(): |
| 575 | text = normalize_text(""" |
| 576 | name, amount |
| 577 | Alice,100 |
| 578 | Bob,-200 |
| 579 | Charlie,300 |
| 580 | Dennis,400 |
| 581 | Edith,-500 |
| 582 | Frank,600 |
| 583 | """) |
| 584 | |
| 585 | with filetext(text) as fn: |
| 586 | df = dd.read_csv(fn, skipinitialspace=True, blocksize=20) |
| 587 | |
| 588 | assert "amount" in df.columns |
| 589 | assert df.amount.max().compute() == 600 |
| 590 | |
| 591 | |
| 592 | def test_consistent_dtypes(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…