Skip to content

Commit

Permalink
Try to debug Mac Python 2.6 Travis failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Apr 13, 2018
1 parent c794f27 commit a6c0eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/with_dummyserver/test_https.py
Expand Up @@ -99,10 +99,10 @@ def test_client_no_intermediate(self):
try:
https_pool.request('GET', '/certificate', retries=False)
except SSLError as e:
print(str(e))
self.assertTrue('alert unknown ca' in str(e) or
'invalid certificate chain' in str(e) or
'unknown Cert Authority' in str(e) or
'certificate verify failed' in str(e))
'unknown Cert Authority' in str(e))

def test_verified(self):
https_pool = HTTPSConnectionPool(self.host, self.port,
Expand Down

0 comments on commit a6c0eec

Please sign in to comment.