Lines Matching refs:lines
1294 # NB the first 4 lines are also used to test input, below
2165 lines = []
2171 lines.append(line)
2174 if len(lines) != 2:
2188 self.fail("got %d lines in pipe but expected 2, child output was:\n%s"
2189 % (len(lines), child_output))
2197 return lines
2213 lines = self.run_child(child, terminal_input + b"\r\n")
2215 self.assertIn(lines[0], {'tty = True', 'tty = False'})
2216 if lines[0] != 'tty = True':
2218 input_result = eval(lines[1]) # ascii() -> eval() roundtrip
2258 lines = self.run_child(child, b"quux\r")
2263 self.assertSequenceEqual(lines, expected)