Skip to content

Commit 4a19e6c

Browse files
Fix tests.
1 parent 1db46f7 commit 4a19e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ def test_options(self):
986986
self.assertEqual(0, ctx.options & ~ssl.OP_NO_SSLv3)
987987

988988
# invalid options
989-
with self.assertRaises(OverflowError):
989+
with self.assertRaises(ValueError):
990990
ctx.options = -1
991991
with self.assertRaises(OverflowError):
992992
ctx.options = 2 ** 100

0 commit comments

Comments
 (0)