Skip to content

bpo-43562: fix test_ssl to skip on unreachable network #24937

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

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

carljm
Copy link
Member

@carljm carljm commented Mar 19, 2021

This test checks result code of the connection directly, so it never raises an exception that can be suppressed by support.transient_internet. Directly support skipping the test in case of unreachable network.

https://bugs.python.org/issue43562

Automerge-Triggered-By: GH:tiran

Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, patch looks ok to me.

@miss-islington
Copy link
Contributor

Thanks @carljm for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-25046 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Mar 27, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 27, 2021
This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network.
(cherry picked from commit 29c451c)

Co-authored-by: Carl Meyer <[email protected]>
@bedevere-bot
Copy link

GH-25047 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 27, 2021
This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network.
(cherry picked from commit 29c451c)

Co-authored-by: Carl Meyer <[email protected]>
vstinner pushed a commit that referenced this pull request Mar 29, 2021
…-25046)

This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network.
(cherry picked from commit 29c451c)

Co-authored-by: Carl Meyer <[email protected]>

Co-authored-by: Carl Meyer <[email protected]>
vstinner pushed a commit that referenced this pull request Mar 29, 2021
…-25047)

This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network.
(cherry picked from commit 29c451c)

Co-authored-by: Carl Meyer <[email protected]>

Co-authored-by: Carl Meyer <[email protected]>
@carljm carljm deleted the sslnonet branch May 11, 2023 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants