Skip to content

Commit

Permalink
test_https: allow two possible Windows errors
Browse files Browse the repository at this point in the history
See #1422 for details.
  • Loading branch information
pquentin committed Aug 24, 2018
1 parent 9d42c3d commit 045a19a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/with_dummyserver/test_https.py
Expand Up @@ -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):
Expand Down

0 comments on commit 045a19a

Please sign in to comment.