(self, input, expected_result)
| 688 | |
| 689 | class TestCsvBase(unittest.TestCase): |
| 690 | def readerAssertEqual(self, input, expected_result): |
| 691 | with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: |
| 692 | fileobj.write(input) |
| 693 | fileobj.seek(0) |
| 694 | reader = csv.reader(fileobj, dialect = self.dialect) |
| 695 | fields = list(reader) |
| 696 | self.assertEqual(fields, expected_result) |
| 697 | |
| 698 | def writerAssertEqual(self, input, expected_result): |
| 699 | with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: |
no test coverage detected