diff options
author | efkin <efkin@riseup.net> | 2017-03-13 20:20:19 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-03-17 17:52:56 +0100 |
commit | ba3fcb08eafd389bdbf0ab9c59577a25c8d8126d (patch) | |
tree | 24f41600853a07318a035c5de4fc11f8e10fdd6a /testing/test_soledad/u1db_tests/test_https.py | |
parent | 1034d3107b57f03d7ed2257aef39cede2f6686ef (diff) |
[test] Prepare tests for python3 compatibility
Diffstat (limited to 'testing/test_soledad/u1db_tests/test_https.py')
-rw-r--r-- | testing/test_soledad/u1db_tests/test_https.py | 2 |
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.") |