Lines Matching refs:lines
348 lines = err.getvalue().split('\n')
349 self.assertTrue(lines[0].endswith('code 404, message File not found'))
350 self.assertTrue(lines[1].endswith('"ERROR / HTTP/1.1" 404 -'))
1039 lines = stderr.splitlines()
1040 self.assertIn('/foo', lines[0])
1041 self.assertIn(r'/\x1bbar\x00\x1b', lines[1])
1042 self.assertIn('/spam a.', lines[2])
1043 self.assertIn('/spam \\x1b\\x7f\\x9f\xa0beans.', lines[3])
1044 self.assertIn(r'"GET /foo\\b"ar\x07 HTTP/1.0"', lines[4])
1193 # Issue #10714: huge request lines are discarded, to avoid Denial