MCPcopy Index your code
hub / github.com/python/cpython / _socketpair

Method _socketpair

Lib/test/test_pty.py:370–373  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368 return pipe_fds
369
370 def _socketpair(self):
371 socketpair = socket.socketpair()
372 self.files.extend(socketpair)
373 return socketpair
374
375 def _mock_select(self, rfds, wfds, xfds):
376 # This will raise IndexError when no more expected calls exist.

Callers 1

test__copy_to_eachMethod · 0.95

Calls 2

socketpairMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected