diff --git a/test/with_dummyserver/test_https.py b/test/with_dummyserver/test_https.py index 41c1d5a723..6e558d3561 100644 --- a/test/with_dummyserver/test_https.py +++ b/test/with_dummyserver/test_https.py @@ -101,7 +101,9 @@ def test_client_no_intermediate(self): 'invalid certificate chain' in str(e) or 'unknown Cert Authority' in str(e) or # https://github.com/urllib3/urllib3/issues/1422 - 'connection closed via error' in str(e)): + 'connection closed via error' in str(e) or + 'WSAECONNRESET' in str(e) or + 'An existing connection was forcibly closed by the remote host' in str(e)): raise def test_verified(self):