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

Method make_socketpair

Lib/test/test_selectors.py:57–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55class BaseSelectorTestCase:
56
57 def make_socketpair(self):
58 rd, wr = socketpair()
59 self.addCleanup(rd.close)
60 self.addCleanup(wr.close)
61 return rd, wr
62
63 def test_register(self):
64 s = self.SELECTOR()

Callers 15

test_registerMethod · 0.95
test_unregisterMethod · 0.95
test_modifyMethod · 0.95
test_closeMethod · 0.95
test_get_keyMethod · 0.95
test_get_mapMethod · 0.95
test_selectMethod · 0.95

Calls 2

addCleanupMethod · 0.80
socketpairFunction · 0.70

Tested by

no test coverage detected