Skip to content

Sync Fork from Upstream Repo#499

Merged
sthagen merged 6 commits intosthagen:mainfrom
python:main
May 5, 2021
Merged

Sync Fork from Upstream Repo#499
sthagen merged 6 commits intosthagen:mainfrom
python:main

Conversation

@sthagen
Copy link
Copy Markdown
Owner

@sthagen sthagen commented May 5, 2021

No description provided.

rhettinger and others added 6 commits May 4, 2021 11:27
The address tuple for CAN_RAW no longer returns the address family
after the introduction of CAN ISO-TP support in a30f6d4. 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.
@sthagen sthagen merged commit 5a4be6b into sthagen:main May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants