Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
prusse-martin committed Apr 8, 2016
1 parent f8e7bb5 commit 1fe3687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/code/test_excinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def test_repr_traceback_with_unicode(style, encoding):
msg = msg.encode(encoding)
try:
raise RuntimeError(msg)
except RuntimeError as error:
except RuntimeError:
e_info = ExceptionInfo()
formatter = FormattedExcinfo(style=style)
repr_traceback = formatter.repr_traceback(e_info)
Expand Down

0 comments on commit 1fe3687

Please sign in to comment.