]> granicus.if.org Git - python/commitdiff
Correct typo in min version test (GH-16000)
authorChristian Heimes <christian@python.org>
Wed, 11 Sep 2019 17:48:58 +0000 (19:48 +0200)
committerT. Wouters <thomas@python.org>
Wed, 11 Sep 2019 17:48:58 +0000 (10:48 -0700)
Signed-off-by: Christian Heimes <christian@python.org>
Lib/test/test_ssl.py

index 54e27162763850edc98cacf45b18231cb9ebb8b6..737a96989968cf5f669563c4dd1ac027f27034d8 100644 (file)
@@ -3735,7 +3735,7 @@ class ThreadedTests(unittest.TestCase):
         server_context.maximum_version = ssl.TLSVersion.TLSv1_2
         server_context.minimum_version = ssl.TLSVersion.TLSv1_2
         client_context.maximum_version = ssl.TLSVersion.TLSv1
-        client_context.maximum_version = ssl.TLSVersion.TLSv1
+        client_context.minimum_version = ssl.TLSVersion.TLSv1
         with ThreadedEchoServer(context=server_context) as server:
             with client_context.wrap_socket(socket.socket(),
                                             server_hostname=hostname) as s: