summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_ssl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 794944a..0e50d09 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3169,7 +3169,9 @@ class ThreadedTests(unittest.TestCase):
s.connect((HOST, server.port))
with self.assertRaisesRegex(
OSError,
- 'alert unknown ca|EOF occurred|TLSV1_ALERT_UNKNOWN_CA|closed by the remote host|Connection reset by peer'
+ 'alert unknown ca|EOF occurred|TLSV1_ALERT_UNKNOWN_CA|'
+ 'closed by the remote host|Connection reset by peer|'
+ 'Broken pipe'
):
# TLS 1.3 perform client cert exchange after handshake
s.write(b'data')