()
| 479 | ) |
| 480 | |
| 481 | def checker(): |
| 482 | try: |
| 483 | result = ( |
| 484 | pd.read_csv(output_path, usecols=[*usecols, *index_col]) |
| 485 | .convert_dtypes() |
| 486 | .set_index(index_col, drop=False) |
| 487 | .sort_index() |
| 488 | ) |
| 489 | except Exception: |
| 490 | return False |
| 491 | return expected.equals(result) |
| 492 | |
| 493 | return checker |
| 494 |
no outgoing calls