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

Method registerRecvmsgResult

Lib/test/test_socket.py:4061–4062  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

4059 self.assertEqual(os.read(fd, 1024), str(n).encode())
4060
4061 def registerRecvmsgResult(self, result):
4062 self.addCleanup(self.closeRecvmsgFDs, result)
4063
4064 def closeRecvmsgFDs(self, recvmsg_result):
4065 # Close all file descriptors specified in the ancillary data

Callers 1

doRecvmsgMethod · 0.45

Calls 1

addCleanupMethod · 0.80

Tested by

no test coverage detected