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 ce04e7105b
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
a702bd4b92
commit
73e02ff0d4
|
@ -3826,6 +3826,7 @@ class ThreadedTests(unittest.TestCase):
|
||||||
|
|
||||||
@requires_minimum_version
|
@requires_minimum_version
|
||||||
@requires_tls_version('TLSv1_2')
|
@requires_tls_version('TLSv1_2')
|
||||||
|
@requires_tls_version('TLSv1')
|
||||||
def test_min_max_version_mismatch(self):
|
def test_min_max_version_mismatch(self):
|
||||||
client_context, server_context, hostname = testing_context()
|
client_context, server_context, hostname = testing_context()
|
||||||
# client 1.0, server 1.2 (mismatch)
|
# client 1.0, server 1.2 (mismatch)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available
|
Loading…
Reference in New Issue