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

Method test_quotes

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

Source from the content-addressed store, hash-verified

791 self.writerAssertEqual([[1, 2, 'abc', 3, 4]], '1,2,abc,3,4\r\n')
792
793 def test_quotes(self):
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')

Callers

nothing calls this directly

Calls 1

writerAssertEqualMethod · 0.80

Tested by

no test coverage detected