[Python-checkins] cpython: trying again

benjamin.peterson python-checkins at python.org
Thu Jan 8 04:24:53 CET 2015


https://hg.python.org/cpython/rev/4ee1a459540a
changeset: 94073:4ee1a459540a
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 21:21:34 2015 -0600
summary:
 trying again
files:
 Lib/test/test_ssl.py | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3165,13 +3165,13 @@
 def test_shared_ciphers(self):
 server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
 client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
- client_context.set_ciphers("AES")
+ client_context.set_ciphers("RC4")
 server_context.set_ciphers("AES:RC4")
 stats = server_params_test(client_context, server_context)
 ciphers = stats['server_shared_ciphers'][0]
 self.assertGreater(len(ciphers), 0)
 for name, tls_version, bits in ciphers:
- self.assertIn("AES", name)
+ self.assertIn("RC4", name.split("-"))
 
 def test_read_write_after_close_raises_valuerror(self):
 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

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