From: Benjamin Peterson Date: Wed, 7 Jan 2015 20:29:45 +0000 (-0600) Subject: fix assertions after ciphers were changed X-Git-Tag: v3.5.0a1~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8791d697e03c7ab08b146fb31aa7d06932a915b4;p=python fix assertions after ciphers were changed --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 554f32ccdd..3f1ba2fa0f 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -3171,8 +3171,7 @@ else: 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)