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