diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-05-04 21:03:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 21:03:48 (GMT) |
commit | df99532a05e4cfba8d9835375d4a3830b84472ad (patch) | |
tree | 7825c1d4e51c081a419d10da92b278908d9a208b /Doc/includes/sqlite3/execsql_fetchonerow.py | |
parent | 8faed45242f26e4e34009bf518c17119f103d069 (diff) | |
download | cpython-df99532a05e4cfba8d9835375d4a3830b84472ad.zip cpython-df99532a05e4cfba8d9835375d4a3830b84472ad.tar.gz cpython-df99532a05e4cfba8d9835375d4a3830b84472ad.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 'Doc/includes/sqlite3/execsql_fetchonerow.py')
0 files changed, 0 insertions, 0 deletions