Skip to content

Commit d98c160

Browse files
Alan HuangAlan Huang
Alan Huang
authored and
Alan Huang
committed
revert inadvertent removal of test
1 parent 3a421eb commit d98c160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_ssl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,8 +1135,8 @@ def test_min_max_version(self):
11351135
{ssl.TLSVersion.TLSv1_2, ssl.TLSVersion.TLSv1_3}
11361136
)
11371137

1138-
# with self.assertRaises(ValueError):
1139-
# ctx.minimum_version = 42
1138+
with self.assertRaises(ValueError):
1139+
ctx.minimum_version = 42
11401140

11411141
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1_1)
11421142

0 commit comments

Comments
 (0)