Skip to content

Commit

Permalink
fix tests on python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Aug 5, 2017
1 parent 1ae0890 commit 0f17356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_image_modes_fail(self):
]:
with self.assertRaises(ValueError) as e:
Image.new(mode, (1, 1));
self.assertEqual(e.exception.message, 'unrecognized image mode')
self.assertEqual(str(e.exception), 'unrecognized image mode')

def test_sanity(self):

Expand Down

0 comments on commit 0f17356

Please sign in to comment.