Skip to content

Commit

Permalink
Fix variable name typo (caught by flake8)
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed Mar 5, 2014
1 parent 17d5372 commit e9095a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loginas/tests/tests.py
Expand Up @@ -52,7 +52,7 @@ def assertLoginError(self, resp):
def assertRaisesExact(self, exception, func, *args, **kwargs):
try:
func(*args, **kwargs)
self.assertFail("{0} not raised".format(exc))
self.assertFail("{0} not raised".format(exception))
except exception.__class__ as caught:
self.assertEqual(caught.message, exception.message)

Expand Down

0 comments on commit e9095a4

Please sign in to comment.