From ba3fcb08eafd389bdbf0ab9c59577a25c8d8126d Mon Sep 17 00:00:00 2001 From: efkin Date: Mon, 13 Mar 2017 20:20:19 +0100 Subject: [test] Prepare tests for python3 compatibility --- testing/test_soledad/u1db_tests/test_https.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/test_soledad/u1db_tests/test_https.py') 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.") -- cgit v1.2.3