]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937)
authorCarl Meyer <carl@oddbird.net>
Sat, 27 Mar 2021 21:52:28 +0000 (15:52 -0600)
committerGitHub <noreply@github.com>
Sat, 27 Mar 2021 21:52:28 +0000 (14:52 -0700)
commit29c451c6989c3c94fa0a9facf187c24f3cbf2420
tree2a65396b6eb71551fdb3f2ae1072bdee307c808e
parenta53e9a7cf5912a44c5143e353912e44cfcfca7dc
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937)

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.
Lib/test/test_ssl.py