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

Method testRecvFrom

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

Source from the content-addressed store, hash-verified

3240 self.cli.sendto(MSG, 0, (HOST, self.port))
3241
3242 def testRecvFrom(self):
3243 # Testing recvfrom() over UDPLITE
3244 msg, addr = self.serv.recvfrom(len(MSG))
3245 self.assertEqual(msg, MSG)
3246
3247 def _testRecvFrom(self):
3248 self.cli.sendto(MSG, 0, (HOST, self.port))

Callers

nothing calls this directly

Calls 2

recvfromMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected