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

Method _testSendMultiFrames

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

Source from the content-addressed store, hash-verified

2378 self.assertEqual(self.cf2, cf)
2379
2380 def _testSendMultiFrames(self):
2381 self.cf1 = self.build_can_frame(0x07, b'\x44\x33\x22\x11')
2382 self.cli.send(self.cf1)
2383
2384 self.cf2 = self.build_can_frame(0x12, b'\x99\x22\x33')
2385 self.cli.send(self.cf2)
2386
2387 @unittest.skipUnless(hasattr(socket, "CAN_BCM"),
2388 'socket.CAN_BCM required for this test.')

Callers

nothing calls this directly

Calls 2

build_can_frameMethod · 0.95
sendMethod · 0.45

Tested by

no test coverage detected