Thanks to visit codestin.com Credit goes to github.com
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 f6c3af3 commit ff087fbCopy full SHA for ff087fb
1 file changed
Lib/test/test_ssl.py
@@ -2968,7 +2968,7 @@ def test_verify_strict(self):
2968
with server:
2969
with client_context.wrap_socket(socket.socket(),
2970
server_hostname=hostname) as s:
2971
- with self.assertRaises(ssl.SSLCertVerificationError):
+ with self.assertRaises(ssl.SSLError):
2972
s.connect((HOST, server.port))
2973
2974
# explicitly disabling VERIFY_X509_STRICT allows it to succeed
0 commit comments