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

T. Wouters webhook-mailer at python.org
Wed Sep 11 14:19:16 EDT 2019


https://github.com/python/cpython/commit/8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96
commit: 8af4e0c9942424b0dc6f5e882ce0bbd36f5fbb96
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: T. Wouters <thomas at python.org>
date: 2019年09月11日T11:19:12-07:00
summary:
Correct typo in min version test (GH-16001)
Signed-off-by: Christian Heimes <christian at python.org>
(cherry picked from commit de606ea169435fe4dd40dc3e3b2b591e11396a14)
Co-authored-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 a32b0bcc7e22..9f3365aa864c 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3730,7 +3730,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 によって変換されたページ (->オリジナル) /