]> granicus.if.org Git - python/commitdiff
Correct typo in min version test (GH-16001)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 18:19:12 +0000 (11:19 -0700)
committerT. Wouters <thomas@python.org>
Wed, 11 Sep 2019 18:19:12 +0000 (11:19 -0700)
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit de606ea169435fe4dd40dc3e3b2b591e11396a14)

Co-authored-by: Christian Heimes <christian@python.org>
Lib/test/test_ssl.py

index a32b0bcc7e22b072866de15ac10bb0b0a0d424ad..9f3365aa864cf34245625e160ae4491cd885c5e8 100644 (file)
@@ -3730,7 +3730,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: