From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 18 Nov 2020 12:42:38 +0000 (-0800) Subject: [3.9] bpo-41561: skip test_min_max_version_mismatch (GH-22308) (GH-23363) X-Git-Tag: v3.9.1rc1~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=802ff7c0d339376a1b974e57d2caca898310de3d;p=thirdparty%2FPython%2Fcpython.git [3.9] bpo-41561: skip test_min_max_version_mismatch (GH-22308) (GH-23363) skip test_min_max_version_mismatch when TLS 1.0 is not available Signed-off-by: Christian Heimes (cherry picked from commit ce04e7105bc396c32667a22b928a712ba0778a3f) Co-authored-by: Christian Heimes Automerge-Triggered-By: GH:tiran --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 5d496c668761..27cb884e072e 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -3831,6 +3831,7 @@ class ThreadedTests(unittest.TestCase): @requires_minimum_version @requires_tls_version('TLSv1_2') + @requires_tls_version('TLSv1') def test_min_max_version_mismatch(self): client_context, server_context, hostname = testing_context() # client 1.0, server 1.2 (mismatch) diff --git a/Misc/NEWS.d/next/Tests/2020-09-18-16-14-03.bpo-41561.uPnwrW.rst b/Misc/NEWS.d/next/Tests/2020-09-18-16-14-03.bpo-41561.uPnwrW.rst new file mode 100644 index 000000000000..10bce825961c --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2020-09-18-16-14-03.bpo-41561.uPnwrW.rst @@ -0,0 +1 @@ +test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available