Searched refs:readalllines (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_codecs.py | 82 def readalllines(input, keepends=True, size=None): function 95 self.assertEqual(readalllines(s, True), sexpected) 96 self.assertEqual(readalllines(s, False), sexpectednoends) 97 self.assertEqual(readalllines(s, True, 10), sexpected) 98 self.assertEqual(readalllines(s, False, 10), sexpectednoends) 107 self.assertEqual(readalllines("".join(vw), True), "|".join(vw)) 108 self.assertEqual(readalllines("".join(vw), False), "|".join(vwo))
|
/external/python/cpython3/Lib/test/ |
D | test_codecs.py | 130 def readalllines(input, keepends=True, size=None): function 143 self.assertEqual(readalllines(s, True), sexpected) 144 self.assertEqual(readalllines(s, False), sexpectednoends) 145 self.assertEqual(readalllines(s, True, 10), sexpected) 146 self.assertEqual(readalllines(s, False, 10), sexpectednoends) 155 self.assertEqual(readalllines("".join(vw), True), "|".join(vw)) 156 self.assertEqual(readalllines("".join(vw), False), "|".join(vwo))
|