]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-25047)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Mar 2021 19:37:38 +0000 (12:37 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Mar 2021 19:37:38 +0000 (21:37 +0200)
commit20b2f2bfc2e72c6d9ed983d1f0aa7a141e9b3fc3
tree8dd348df7359cd481a08bcf7fdd132a524d2f726
parent3b6e61ee0812359029cac176042d9c835c60f185
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-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 29c451c6989c3c94fa0a9facf187c24f3cbf2420)

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Carl Meyer <carl@oddbird.net>
Lib/test/test_ssl.py