[Python-checkins] Correct typo in min version test (GH-16000)

T. Wouters webhook-mailer at python.org
Wed Sep 11 13:49:02 EDT 2019


https://github.com/python/cpython/commit/de606ea169435fe4dd40dc3e3b2b591e11396a14
commit: de606ea169435fe4dd40dc3e3b2b591e11396a14
branch: master
author: Christian Heimes <christian at python.org>
committer: T. Wouters <thomas at python.org>
date: 2019年09月11日T10:48:58-07:00
summary:
Correct typo in min version test (GH-16000)
Signed-off-by: Christian Heimes <christian at python.org>
files:
M Lib/test/test_ssl.py
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 54e271627638..737a96989968 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3735,7 +3735,7 @@ def test_min_max_version(self):
 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:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /