mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 15:44:46 +03:00
fix tests on python 3
This commit is contained in:
parent
1ae089072b
commit
0f17356d46
|
@ -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