Lines Matching defs:child
2128 def run_child(self, child, terminal_input):
2131 return self._run_child(child, terminal_input)
2135 def _run_child(self, child, terminal_input):
2136 r, w = os.pipe() # Pipe test results from child back to parent
2152 child(wpipe)
2169 # The other end was closed => the child exited
2188 self.fail("got %d lines in pipe but expected 2, child output was:\n%s"
2191 # bpo-40155: Close the PTY before waiting for the child process
2192 # completion, otherwise the child process hangs on AIX.
2202 def child(wpipe):
2213 lines = self.run_child(child, terminal_input + b"\r\n")
2253 def child(wpipe):
2258 lines = self.run_child(child, b"quux\r")