Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_fileinput.py37 def linesread(self): member in LineReader
281 self.assertEqual(src.linesread, [])
283 self.assertEqual(src.linesread, ['line1\n'])
285 self.assertEqual(src.linesread, ['line2'])
287 self.assertEqual(src.linesread, ['', 'line3\n'])
289 self.assertEqual(src.linesread, [''])
291 self.assertEqual(src.linesread, [])
297 self.assertEqual(src.linesread, [])
299 self.assertEqual(src.linesread, ['line1\n'])
301 self.assertEqual(src.linesread, ['line2'])
[all …]
/external/python/cpython3/Lib/test/
Dtest_fileinput.py53 def linesread(self): member in LineReader
478 self.assertEqual(src.linesread, [])
480 self.assertEqual(src.linesread, ['line1\n'])
482 self.assertEqual(src.linesread, ['line2'])
484 self.assertEqual(src.linesread, ['', 'line3\n'])
486 self.assertEqual(src.linesread, [''])
488 self.assertEqual(src.linesread, [])
494 self.assertEqual(src.linesread, [])
496 self.assertEqual(src.linesread, ['line1\n'])
498 self.assertEqual(src.linesread, ['line2'])
[all …]