MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_newlines

Method test_newlines

Lib/test/test_csv.py:819–820  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

817 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')
818
819 def test_newlines(self):
820 self.writerAssertEqual([[1, 2, 'a\nbc', 3, 4]], '1,2,"a\nbc",3,4\r\n')
821
822class EscapedExcel(csv.excel):
823 quoting = csv.QUOTE_NONE

Callers

nothing calls this directly

Calls 1

writerAssertEqualMethod · 0.80

Tested by

no test coverage detected