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 19f87ab commit faf9e7eCopy full SHA for faf9e7e
Lib/test/test_ssl.py
@@ -4036,7 +4036,7 @@ def test_min_max_version_mismatch(self):
4036
server_hostname=hostname) as s:
4037
with self.assertRaises(ssl.SSLError) as e:
4038
s.connect((HOST, server.port))
4039
- self.assertRegex("(alert|ALERT)", str(e.exception))
+ self.assertRegex(str(e.exception), "(alert|ALERT)")
4040
4041
@requires_tls_version('SSLv3')
4042
def test_min_max_version_sslv3(self):
0 commit comments