Description: properly handle Ubuntu's openssl having OP_NO_SSLv3 forced on by default Author: Marc Deslauriers Index: python3.5-3.5.1~rc1/Lib/test/test_ssl.py =================================================================== --- python3.5-3.5.1~rc1.orig/Lib/test/test_ssl.py 2015-11-24 10:30:32.188025106 -0500 +++ python3.5-3.5.1~rc1/Lib/test/test_ssl.py 2015-11-24 10:30:32.184025065 -0500 @@ -795,7 +795,8 @@ self.assertEqual(ssl.OP_ALL | ssl.OP_NO_TLSv1 | ssl.OP_NO_SSLv3, ctx.options) ctx.options = 0 - self.assertEqual(0, ctx.options) + # Ubuntu has OP_NO_SSLv3 forced on by default + self.assertEqual(0, ctx.options & ~ssl.OP_NO_SSLv3) else: with self.assertRaises(ValueError): ctx.options = 0