mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-19 12:33:16 +03:00
flake8
This commit is contained in:
parent
c8eebc1dc7
commit
11a2026f12
|
@ -22,7 +22,7 @@ class TestImage(PillowTestCase):
|
|||
'BGR;15', 'BGR;16', 'BGR;24', 'BGR;32'
|
||||
]:
|
||||
with self.assertRaises(ValueError) as e:
|
||||
Image.new(mode, (1, 1));
|
||||
Image.new(mode, (1, 1))
|
||||
self.assertEqual(str(e.exception), 'unrecognized image mode')
|
||||
|
||||
def test_sanity(self):
|
||||
|
@ -277,7 +277,8 @@ class TestImage(PillowTestCase):
|
|||
self.assertRaises(ValueError,
|
||||
source.alpha_composite, over, "invalid source")
|
||||
self.assertRaises(ValueError,
|
||||
source.alpha_composite, over, (0, 0), "invalid destination")
|
||||
source.alpha_composite, over, (0, 0),
|
||||
"invalid destination")
|
||||
self.assertRaises(ValueError,
|
||||
source.alpha_composite, over, (0))
|
||||
self.assertRaises(ValueError,
|
||||
|
|
Loading…
Reference in New Issue
Block a user