commit | c1505df0a3c0e3ae57960bd6fc1dc84db2736ab7 | [log] [tgz] |
---|---|---|
author | INADA Naoki <inada-n@klab.com> | Wed Aug 20 15:19:53 2014 +0900 |
committer | INADA Naoki <inada-n@klab.com> | Sat Nov 08 23:48:36 2014 +0900 |
tree | 3cbd539e119b8a5c9d3fbc21452a03cbc76f8b2d | |
parent | 1a91f7f69de6713cea06ed574283442fc08410fc [diff] [blame] |
2to3 -f except
diff --git a/tests/test_mocks.py b/tests/test_mocks.py index 7d1e8e6..60cc108 100644 --- a/tests/test_mocks.py +++ b/tests/test_mocks.py
@@ -140,7 +140,7 @@ try: activity = plus.activities().list(collection='public', userId='me').execute() self.fail('An exception should have been thrown') - except HttpError, e: + except HttpError as e: self.assertEqual('{}', e.content) self.assertEqual(500, e.resp.status) self.assertEqual('Server Error', e.resp.reason)