(msg_format, row, *args)
| 622 | def test_row_number_offset_in_errors(self): |
| 623 | # Row numbers are only correctly counted in serial reads |
| 624 | def format_msg(msg_format, row, *args): |
| 625 | if self.use_threads: |
| 626 | row_info = "" |
| 627 | else: |
| 628 | row_info = f"Row #{row}: " |
| 629 | return msg_format.format(row_info, *args) |
| 630 | |
| 631 | csv, _ = make_random_csv(4, 100, write_names=True) |
| 632 |