◐ Shell
clean mode source ↗

[2.7] bpo-26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test. by zhangyangyu · Pull Request #374 · python/cpython

Expand Up @@ -777,7 +777,8 @@ def test_options(self): ctx.options = (ctx.options & ~ssl.OP_NO_TLSv1) self.assertEqual(default, 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 Expand Down