diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-11-18 12:29:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 12:29:34 (GMT) |
commit | 73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb (patch) | |
tree | 47af44453de7a7927065bfd5b8b021cffb48cc44 /Lib/test | |
parent | a702bd4b921167e73f8fc987aa64ada571fdc3f8 (diff) | |
download | cpython-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.py | 1 |
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) |