summaryrefslogtreecommitdiff
path: root/testing/test_soledad/u1db_tests/test_https.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_soledad/u1db_tests/test_https.py')
-rw-r--r--testing/test_soledad/u1db_tests/test_https.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_soledad/u1db_tests/test_https.py b/testing/test_soledad/u1db_tests/test_https.py
index baffa723..2e75afd1 100644
--- a/testing/test_soledad/u1db_tests/test_https.py
+++ b/testing/test_soledad/u1db_tests/test_https.py
@@ -84,7 +84,7 @@ class TestHttpSyncTargetHttpsSupport(tests.TestCaseWithServer):
remote_target = self.getSyncTarget('localhost', 'test')
try:
remote_target.record_sync_info('other-id', 2, 'T-id')
- except ssl.SSLError, e:
+ except ssl.SSLError as e:
self.assertIn("certificate verify failed", str(e))
else:
self.fail("certificate verification should have failed.")