summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2019-09-11 19:48:58 +0200
committerT. Wouters <thomas@python.org>2019-09-11 10:48:58 -0700
commitde606ea169435fe4dd40dc3e3b2b591e11396a14 (patch)
treedd59deea796fd514edbc581b4418e684d446849b
parent15f5a7527b87e11fcf23069c147fd4cb7d42cfb0 (diff)
downloadcpython-git-de606ea169435fe4dd40dc3e3b2b591e11396a14.tar.gz
Correct typo in min version test (GH-16000)
Signed-off-by: Christian Heimes <christian@python.org>
-rw-r--r--Lib/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 54e2716276..737a969899 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -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: