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

[PR #1744/d5d149ec backport][2.20] Do not assert on a specific error message #1873

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Dec 23, 2024

This is a backport of PR #1744 as merged into main (d5d149e).

Once an upstream library changes its behaviour, we may observe
different error messages depending on the context.

This change fixes the following error:

assert "[Name or service not known]"
in ctx.value.task.error["description"]
E AssertionError: assert '[Name or service not known]'
in 'Cannot connect to host i-am-an-invalid-url.com:80 ssl:default [None]'

[noissue]

Once an upstream library changes its behaviour, we may observe
different error messages depending on the context.

This change fixes the following error:
> assert "[Name or service not known]"
	in ctx.value.task.error["description"]
E AssertionError: assert '[Name or service not known]'
	in 'Cannot connect to host i-am-an-invalid-url.com:80 ssl:default [None]'

[noissue]

(cherry picked from commit d5d149e)
@git-hyagi git-hyagi merged commit 9172f00 into 2.20 Dec 23, 2024
12 checks passed
@git-hyagi git-hyagi deleted the patchback/backports/2.20/d5d149ec8047132907a8c197692872caa8ccebc0/pr-1744 branch December 23, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants