Skip to content

Commit 802ff7c

Browse files
[3.9] bpo-41561: skip test_min_max_version_mismatch (pythonGH-22308) (pythonGH-23363)
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 ce04e71) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
1 parent 71ba5f5 commit 802ff7c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/test/test_ssl.py

+1
Original file line numberDiff line numberDiff line change
@@ -3831,6 +3831,7 @@ def test_min_max_version_tlsv1_1(self):
38313831

38323832
@requires_minimum_version
38333833
@requires_tls_version('TLSv1_2')
3834+
@requires_tls_version('TLSv1')
38343835
def test_min_max_version_mismatch(self):
38353836
client_context, server_context, hostname = testing_context()
38363837
# client 1.0, server 1.2 (mismatch)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available

0 commit comments

Comments
 (0)