(self)
| 865 | "f1,f2,f3\r\n1,abc,f\r\n2,5,xyz\r\n") |
| 866 | |
| 867 | def test_write_no_fields(self): |
| 868 | fileobj = StringIO() |
| 869 | self.assertRaises(TypeError, csv.DictWriter, fileobj) |
| 870 | |
| 871 | def test_write_fields_not_in_fieldnames(self): |
| 872 | with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: |
nothing calls this directly
no test coverage detected