Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Commit

Permalink
Fix test to support python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiofsilva committed May 29, 2015
1 parent 004c5e7 commit 524c3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_by_name_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_invalid_sheet_parameter(self):
'Raises exception when sheet is not string or integer'
try:
self.wb.get_sheet(1.1)
except Exception, e:
except Exception as e:
self.assertTrue('sheet must be integer or string', e)
else:
self.fail('exception not raised')
Expand Down

0 comments on commit 524c3d0

Please sign in to comment.