Try to debug Mac Python 2.6 Travis failure
@@ -99,10 +99,10 @@ class TestHTTPS(HTTPSDummyServerTestCase):
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,
