Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Lib/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4537,7 +4537,11 @@ def msg_cb(conn, direction, version, content_type, msg_type, data):
# server aborts connection with an error.
with self.assertRaisesRegex(
OSError,
'certificate required|EOF occurred|closed by the remote host|Connection reset by peer'
('certificate required'
'|EOF occurred'
'|closed by the remote host'
'|Connection reset by peer'
'|Broken pipe')
):
# receive CertificateRequest
data = s.recv(1024)
Expand Down