Skip to content

Commit

Permalink
Fix tests for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrotoledo committed Aug 17, 2015
1 parent 35f31bf commit 686aecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class BotTest(unittest.TestCase):
def is_json(string):
try:
json.loads(string)
except ValueError, e:
except ValueError:
return False
return True

Expand Down

0 comments on commit 686aecb

Please sign in to comment.