mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Code style update
This commit is contained in:
parent
7d8fea012b
commit
f19c52b5d5
|
@ -83,15 +83,15 @@ class TestImageOps(PillowTestCase):
|
|||
i = hopper("L").resize((50, 50))
|
||||
|
||||
with self.assertRaises(ValueError):
|
||||
ImageOps.scale(i,-1)
|
||||
ImageOps.scale(i, -1)
|
||||
|
||||
newimg = ImageOps.scale(i,1)
|
||||
newimg = ImageOps.scale(i, 1)
|
||||
self.assertEqual(newimg.size, (50, 50))
|
||||
|
||||
newimg = ImageOps.scale(i,2)
|
||||
newimg = ImageOps.scale(i, 2)
|
||||
self.assertEqual(newimg.size, (100, 100))
|
||||
|
||||
newimg = ImageOps.scale(i,0.5)
|
||||
newimg = ImageOps.scale(i, 0.5)
|
||||
self.assertEqual(newimg.size, (25, 25))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user