MCPcopy Index your code
hub / github.com/python/cpython / test_newlines

Method test_newlines

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

Source from the content-addressed store, hash-verified

797 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')
798
799 def test_newlines(self):
800 self.writerAssertEqual([[1, 2, 'a\nbc', 3, 4]], '1,2,"a\nbc",3,4\r\n')
801
802class EscapedExcel(csv.excel):
803 quoting = csv.QUOTE_NONE

Callers

nothing calls this directly

Calls 1

writerAssertEqualMethod · 0.80

Tested by

no test coverage detected