summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_ssl.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 0e50d09..6ec010d 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -4537,7 +4537,11 @@ class TestPostHandshakeAuth(unittest.TestCase):
# 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)