Skip to content

Commit

Permalink
[bin] Fixed test_arg_exception for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Dec 11, 2015
1 parent 7083cdb commit c1f9ab1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ def test_arg_exception(self):
try:
output = subprocess.check_output(command, shell=True)
except subprocess.CalledProcessError as e:
self.assertIn('write() missing 1 required', e.output.decode())
self.assertIn('name', e.output.decode())
self.assertIn('write()', e.output.decode())
else:
self.fail('subprocess.CalledProcessError not raised')

Expand Down

0 comments on commit c1f9ab1

Please sign in to comment.