Home
last modified time | relevance | path

Searched refs:writerAssertEqual (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_csv.py509 def writerAssertEqual(self, input, expected_result): member in TestCsvBase
596 self.writerAssertEqual([], '')
599 self.writerAssertEqual([['abc']], 'abc\r\n')
602 self.writerAssertEqual([[1, 2, 'abc', 3, 4]], '1,2,abc,3,4\r\n')
605 self.writerAssertEqual([[1, 2, 'a"bc"', 3, 4]], '1,2,"a""bc""",3,4\r\n')
608 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')
611 self.writerAssertEqual([[1, 2, 'a\nbc', 3, 4]], '1,2,"a\nbc",3,4\r\n')
621 self.writerAssertEqual([['abc,def']], 'abc\\,def\r\n')
630 self.writerAssertEqual([[1, 'abc def', 'abc']], '"1","abc def","abc"\n')
643 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')
/external/python/cpython2/Lib/test/
Dtest_csv.py497 def writerAssertEqual(self, input, expected_result): member in TestCsvBase
589 self.writerAssertEqual([], '')
592 self.writerAssertEqual([['abc']], 'abc\r\n')
595 self.writerAssertEqual([[1, 2, 'abc', 3, 4]], '1,2,abc,3,4\r\n')
598 self.writerAssertEqual([[1, 2, 'a"bc"', 3, 4]], '1,2,"a""bc""",3,4\r\n')
601 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')
604 self.writerAssertEqual([[1, 2, 'a\nbc', 3, 4]], '1,2,"a\nbc",3,4\r\n')
614 self.writerAssertEqual([['abc,def']], 'abc\\,def\r\n')
627 self.writerAssertEqual([['abc,def']], '"abc,def"\r\n')