cpython: dad4c42869f6 (original) (raw)
Mercurial > cpython
changeset 103116:dad4c42869f6
Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE
Christian Heimes christian@python.org | |
---|---|
date | Tue, 06 Sep 2016 11:27:25 +0200 |
parents | e3b83bfa02c5 |
children | 6e827e97c064 |
files | Lib/test/test_ssl.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_ssl.py 4 |
line wrap: on
line diff
--- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -839,8 +839,8 @@ class ContextTests(unittest.TestCase): ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx.set_ciphers('AESGCM') names = set(d['name'] for d in ctx.get_ciphers())
self.assertIn('ECDHE-RSA-AES256-GCM-SHA384', names)[](#l1.7)
self.assertIn('ECDHE-RSA-AES128-GCM-SHA256', names)[](#l1.8)
self.assertIn('AES256-GCM-SHA384', names)[](#l1.9)
self.assertIn('AES128-GCM-SHA256', names)[](#l1.10)