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

Method test_quote_fieldsep

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

writerAssertEqualMethod · 0.80

Tested by

no test coverage detected