]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41561: skip test_min_max_version_mismatch (GH-22308)
authorChristian Heimes <christian@python.org>
Wed, 18 Nov 2020 12:10:53 +0000 (13:10 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 12:10:53 +0000 (13:10 +0100)
skip test_min_max_version_mismatch when TLS 1.0 is not available

Signed-off-by: Christian Heimes <christian@python.org>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Tests/2020-09-18-16-14-03.bpo-41561.uPnwrW.rst [new file with mode: 0644]

index 26eec969a82e0d75f90d06da5fc438f164a6a522..8744e597302e40e83064ccee9bb278d48f5e5ab3 100644 (file)
@@ -3854,6 +3854,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 (file)
index 0000000..10bce82
--- /dev/null
@@ -0,0 +1 @@
+test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available