We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a382b7d commit b2edc30Copy full SHA for b2edc30
tests/test_api.py
@@ -33,7 +33,7 @@ def testTwitterError(self):
33
# Manually try/catch so we can check the exception's value
34
try:
35
self._api.GetUserTimeline()
36
- except twitter.TwitterError, error:
+ except twitter.TwitterError as error:
37
# If the error message matches, the test passes
38
self.assertEqual('test error', error.message)
39
else:
0 commit comments