diff --git a/.travis.yml b/.travis.yml index 68e985b9a..4a2250771 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,5 +45,7 @@ after_success: - pip install pep8 pyflakes - pep8 PIL/*.py - pyflakes PIL/*.py + - pep8 test/*.py + - pyflakes test/*.py - pep8 Tests/*.py - pyflakes Tests/*.py diff --git a/test/test_imagedraw.py b/test/test_imagedraw.py index 60e9b6f03..f9a5e5f6a 100644 --- a/test/test_imagedraw.py +++ b/test/test_imagedraw.py @@ -1,7 +1,5 @@ from tester import unittest, PillowTestCase, lena -from PIL import Image - from PIL import Image from PIL import ImageColor from PIL import ImageDraw @@ -146,7 +144,8 @@ class TestImageDraw(PillowTestCase): del draw # Assert - self.assert_image_equal(im, Image.open("Tests/images/imagedraw_pieslice.png")) + self.assert_image_equal( + im, Image.open("Tests/images/imagedraw_pieslice.png")) def test_pieslice1(self): self.helper_pieslice(bbox1) @@ -170,7 +169,6 @@ class TestImageDraw(PillowTestCase): def test_point1(self): self.helper_point(points1) - def test_point2(self): self.helper_point(points2) @@ -190,11 +188,9 @@ class TestImageDraw(PillowTestCase): def test_polygon1(self): self.helper_polygon(points1) - def test_polygon2(self): self.helper_polygon(points2) - def helper_rectangle(self, bbox): # Arrange im = Image.new("RGB", (w, h))