Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore coverage on get_remote_addr() condition #1132

Closed
wants to merge 1 commit into from
Closed

Ignore coverage on get_remote_addr() condition #1132

wants to merge 1 commit into from

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented Jul 22, 2021

This exception was added on #495, and it's really needed, as we can see that getpeername is not supported on some systems.

Related:

@Kludex Kludex mentioned this pull request Jul 22, 2021
@euri10
Copy link
Member

euri10 commented Jul 30, 2021

My take on this: if you find a way to reproduce on a the mentionned system (I never was able to where trying to cover this) why not write a test for it ?
reading the PR it seems the issue is encountered on a mac, maybe we could add it to the CI and see if this fails : uds + uvloop instead of just not covering this,

@Kludex Kludex changed the title ✅ Ignore coverage on get_remote_addr() condition Ignore coverage on get_remote_addr() condition Jul 30, 2021
@Kludex Kludex closed this Aug 22, 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.

2 participants