mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
fix tests on python 3
This commit is contained in:
parent
0990dadd6d
commit
0649da02c6
|
@ -24,7 +24,7 @@ class TestImage(PillowTestCase):
|
|||
]:
|
||||
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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user