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

Method testSendFrame

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

Source from the content-addressed store, hash-verified

2354 return (can_id, can_dlc, data[:can_dlc])
2355
2356 def testSendFrame(self):
2357 cf, addr = self.s.recvfrom(self.bufsize)
2358 self.assertEqual(self.cf, cf)
2359 self.assertEqual(addr[0], self.interface)
2360
2361 def _testSendFrame(self):
2362 self.cf = self.build_can_frame(0x00, b'\x01\x02\x03\x04\x05')

Callers

nothing calls this directly

Calls 2

recvfromMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected