Skip to content

Commit

Permalink
remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Nov 13, 2017
1 parent 52b6894 commit fa9e9c2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Tests/test_image_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,5 @@ class TestImageTransformPerspective(TestImageTransformAffine):
# Repeat all tests for AFFINE transformations with PERSPECTIVE
transform = Image.PERSPECTIVE

class TestFill(unittest.TestCase):
def test_fill(self):
im = hopper('RGB')
(w, h) = im.size
transformed = im.transform(im.size, Image.EXTENT,
(0, 0,
w*2, h*2),
Image.BILINEAR,
fill = 'red')
transformed.show()
self.assertEqual(transformed.getpixel((w-1,h-1)), (255,0,0))
if __name__ == '__main__':
unittest.main()

0 comments on commit fa9e9c2

Please sign in to comment.