MCPcopy Create free account
hub / github.com/pexpect/pexpect / spawn

Method spawn

tests/test_socket_fd.py:40–41  ·  view source on GitHub ↗
(self, socket, timeout=30, use_poll=False)

Source from the content-addressed store, hash-verified

38 """ duplicate of test_socket, but using fdpexpect rather than socket_expect """
39
40 def spawn(self, socket, timeout=30, use_poll=False):
41 return fdpexpect.fdspawn(socket.fileno(), timeout=timeout, use_poll=use_poll)
42
43 def test_not_int(self):
44 with self.assertRaises(pexpect.ExceptionPexpect):

Callers

nothing calls this directly

Calls 1

filenoMethod · 0.80

Tested by

no test coverage detected