summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/runscript.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-04 21:01:42 (GMT)
committerGitHub <noreply@github.com>2021-05-04 21:01:42 (GMT)
commit7b4725a210bcfe3dc65f37cbada423cbd1e9f063 (patch)
tree847e3ac42c8fd63363ba13e84ba46d5816b96f8a /Lib/idlelib/runscript.py
parent5dffd79ee99a57443e02d9322daf03b0a1bc44c1 (diff)
downloadcpython-7b4725a210bcfe3dc65f37cbada423cbd1e9f063.zip
cpython-7b4725a210bcfe3dc65f37cbada423cbd1e9f063.tar.gz
cpython-7b4725a210bcfe3dc65f37cbada423cbd1e9f063.tar.bz2
bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548)
The address tuple for CAN_RAW no longer returns the address family after the introduction of CAN ISO-TP support in a30f6d45ac3. However, updating test_socket.CANTest.testSendFrame was missed as part of the change, so the test incorrectly attempts to index past the last tuple item to retrieve the address family. This removes the now-redundant check for equality against socket.AF_CAN, as the tuple will not contain the address family. (cherry picked from commit 355bae88822bee4de6092b63d69c5a5dad393a16) Co-authored-by: karl ding <karlding@users.noreply.github.com>
Diffstat (limited to 'Lib/idlelib/runscript.py')
0 files changed, 0 insertions, 0 deletions