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

Method test_quote_fieldsep

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

Source from the content-addressed store, hash-verified

814 self.writerAssertEqual([[1, 2, 'a"bc"', 3, 4]], '1,2,"a""bc""",3,4\r\n')
815
816 def test_quote_fieldsep(self):
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')

Callers

nothing calls this directly

Calls 1

writerAssertEqualMethod · 0.80

Tested by

no test coverage detected