Skip to content

Commit

Permalink
fixed test syntax for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k0 committed Oct 8, 2012
1 parent 409c150 commit e90a98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onetask/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _load(self, **kwargs):
def assertCommandOK(self, command):
try:
check_output(command)
except CalledProcessError, err:
except CalledProcessError as err:
raise AssertionError('Command is not ok: ' % err)

def assertCommandKO(self, command):
Expand Down

0 comments on commit e90a98e

Please sign in to comment.