Skip to content

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

Merged
miss-islington merged 1 commit into
python:masterfrom
carljm:sslnonet
Mar 27, 2021
Merged

bpo-43562: fix test_ssl to skip on unreachable network#24937
miss-islington merged 1 commit into
python:masterfrom
carljm:sslnonet

Conversation

@carljm
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@bedevere-bot
Copy link
Copy Markdown

GH-25046 is a backport of this pull request to the 3.9 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 <carl@oddbird.net>
@bedevere-bot
Copy link
Copy Markdown

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 <carl@oddbird.net>
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 <carl@oddbird.net>

Co-authored-by: Carl Meyer <carl@oddbird.net>
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 <carl@oddbird.net>

Co-authored-by: Carl Meyer <carl@oddbird.net>
@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