diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index f9370d8e52dca1..eada6e929fe159 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -187,7 +187,7 @@ class SocketCANTest(unittest.TestCase): the following commands: # modprobe vcan # ip link add dev vcan0 type vcan - # ifconfig vcan0 up + # ip link set up vcan0 """ interface = 'vcan0' bufsize = 128 @@ -1954,7 +1954,6 @@ def testSendFrame(self): cf, addr = self.s.recvfrom(self.bufsize) self.assertEqual(self.cf, cf) self.assertEqual(addr[0], self.interface) - self.assertEqual(addr[1], socket.AF_CAN) def _testSendFrame(self): self.cf = self.build_can_frame(0x00, b'\x01\x02\x03\x04\x05')