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 e70e182 commit cda622dCopy full SHA for cda622d
Lib/test/test_ssl.py
@@ -3867,7 +3867,7 @@ def test_min_max_version_mismatch(self):
3867
server_hostname=hostname) as s:
3868
with self.assertRaises(ssl.SSLError) as e:
3869
s.connect((HOST, server.port))
3870
- self.assertRegex("(alert|ALERT)", str(e.exception))
+ self.assertRegex(str(e.exception), "(alert|ALERT)")
3871
3872
@requires_tls_version('SSLv3')
3873
def test_min_max_version_sslv3(self):
0 commit comments