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

Method socketpair

Lib/test/test_socket.py:655–657  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

653 self.serv = None
654
655 def socketpair(self):
656 # To be overridden by some child classes.
657 return socket.socketpair()
658
659 def setUp(self):
660 self.serv, self.cli = self.socketpair()

Callers 15

setUpMethod · 0.95
socketpairFunction · 0.45
_sigint_handlerMethod · 0.45
_make_self_pipeMethod · 0.45
_startMethod · 0.45
_make_self_pipeMethod · 0.45
do_testMethod · 0.45
socketpairMethod · 0.45
test_ipv4Method · 0.45
test_ipv6Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected