Lines Matching refs:masters
251 masters = [s.fileno() for s in socketpair]
252 self.fds.extend(masters)
255 os.write(masters[1], b'from master')
261 self.select_rfds_results.append([mock_stdin_fd, masters[0]])
265 pty._copy(masters[0])
268 rfds = select.select([read_from_stdout_fd, masters[1]], [], [], 0)[0]
269 self.assertEqual([read_from_stdout_fd, masters[1]], rfds)
271 self.assertEqual(os.read(masters[1], 20), b'from stdin')
280 masters = [s.fileno() for s in socketpair]
281 self.fds.extend(masters)
283 os.close(masters[1])
290 self.select_rfds_results.append([mock_stdin_fd, masters[0]])
296 pty._copy(masters[0])