summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 18:19:12 (GMT)
committerT. Wouters <thomas@python.org>2019-09-11 18:19:12 (GMT)
commit8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96 (patch)
treee674673e2ce9b7aaf47ab9386582841e557b6ece
parentf79a022d762edc749d0fecdc50c567d2bb910c53 (diff)
downloadcpython-8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96.zip
cpython-8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96.tar.gz
cpython-8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96.tar.bz2
Correct typo in min version test (GH-16001)
Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit de606ea169435fe4dd40dc3e3b2b591e11396a14) Co-authored-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 a32b0bc..9f3365a 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -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: