summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-11-18 12:29:34 (GMT)
committerGitHub <noreply@github.com>2020-11-18 12:29:34 (GMT)
commit73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb (patch)
tree47af44453de7a7927065bfd5b8b021cffb48cc44 /Lib/test
parenta702bd4b921167e73f8fc987aa64ada571fdc3f8 (diff)
downloadcpython-73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb.zip
cpython-73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb.tar.gz
cpython-73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb.tar.bz2
bpo-41561: skip test_min_max_version_mismatch (GH-22308)
skip test_min_max_version_mismatch when TLS 1.0 is not available Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ce04e7105bc396c32667a22b928a712ba0778a3f) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 0bc0a8c..850d174 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3826,6 +3826,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)