Skip to content

Commit

Permalink
Code style update
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedonno1337 committed Jul 6, 2016
1 parent 7d8fea0 commit f19c52b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/test_imageops.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ def test_scale(self):
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))


Expand Down

0 comments on commit f19c52b

Please sign in to comment.