[Python-checkins] cpython: fix assertions after ciphers were changed
benjamin.peterson
python-checkins at python.org
Wed Jan 7 21:30:00 CET 2015
https://hg.python.org/cpython/rev/a969b9c53675
changeset: 94069:a969b9c53675
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 14:29:45 2015 -0600
summary:
fix assertions after ciphers were changed
files:
Lib/test/test_ssl.py | 3 +--
1 files changed, 1 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
@@ -3171,8 +3171,7 @@
ciphers = stats['server_shared_ciphers'][0]
self.assertGreater(len(ciphers), 0)
for name, tls_version, bits in ciphers:
- self.assertIn("AES128", name.split("-"))
- self.assertEqual(bits, 128)
+ 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