We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db46f7 commit 4a19e6cCopy full SHA for 4a19e6c
Lib/test/test_ssl.py
@@ -986,7 +986,7 @@ def test_options(self):
986
self.assertEqual(0, ctx.options & ~ssl.OP_NO_SSLv3)
987
988
# invalid options
989
- with self.assertRaises(OverflowError):
+ with self.assertRaises(ValueError):
990
ctx.options = -1
991
with self.assertRaises(OverflowError):
992
ctx.options = 2 ** 100
0 commit comments