Request For Review: Fix test_socket.CANTest.testSendFrame (bpo-40297)

April 23, 2021
8:08 p.m.
Hi all, Could someone help take a look at the following PR, which fixes one of the broken socket module tests that exercises part of the standard library? PR Link: https://github.com/python/cpython/pull/19548 BPO Link: https://bugs.python.org/issue40297 The test can be run locally on Linux by setting up the virtual SocketCAN interface the test expects: # Load SocketCAN vcan kernel module sudo modprobe vcan # Start and set up a virtual SocketCAN interface # Note: The SocketCAN tests expect a network interface called 'vcan0' to exist sudo ip link add dev vcan0 type vcan sudo ip link set up vcan0 # Run the socket tests using locally built Python ./python -m unittest -v test.test_socket.CANTest Thanks! -- Karl Ding
1403
Age (days ago)
1403
Last active (days ago)
0 comments
1 participants
participants (1)
-
Karl Ding