From ad70fc73cbd17da4fb28cb00303ec2a52f82ba38 Mon Sep 17 00:00:00 2001 From: Riley Lahd Date: Fri, 22 Mar 2019 08:26:16 -0600 Subject: [PATCH] Linting changes --- Tests/test_file_gif.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Tests/test_file_gif.py b/Tests/test_file_gif.py index c754d6ed5..36a2b2648 100644 --- a/Tests/test_file_gif.py +++ b/Tests/test_file_gif.py @@ -323,7 +323,7 @@ class TestFileGif(PillowTestCase): im_list = [] for circle in circles: - img = Image.new('RGB', (100, 100), (255,0,0)) + img = Image.new('RGB', (100, 100), (255, 0, 0)) # Red circle in center of each frame d = ImageDraw.Draw(img) @@ -355,16 +355,16 @@ class TestFileGif(PillowTestCase): # 4 frames: red/blue, red/red, blue/blue, red/blue circles = [ - ((255, 0, 0, 255),(0, 0, 255, 255)), - ((255, 0, 0, 255),(255, 0, 0, 255)), - ((0, 0, 255, 255),(0, 0, 255, 255)), - ((255, 0, 0, 255),(0, 0, 255, 255)) + ((255, 0, 0, 255), (0, 0, 255, 255)), + ((255, 0, 0, 255), (255, 0, 0, 255)), + ((0, 0, 255, 255), (0, 0, 255, 255)), + ((255, 0, 0, 255), (0, 0, 255, 255)) ] im_list = [] for i in range(len(circles)): # Transparent BG - img = Image.new('RGBA', (100, 100), (255,255,255,0)) + img = Image.new('RGBA', (100, 100), (255, 255, 255, 0)) # Two circles per frame d = ImageDraw.Draw(img) @@ -394,8 +394,7 @@ class TestFileGif(PillowTestCase): self.assertEqual(rgb_img.getpixel((80, 50)), colours[1]) # Check BG is correct colour - self.assertEqual(rgb_img.getpixel((1, 1)), (255,255,255,0)) - + self.assertEqual(rgb_img.getpixel((1, 1)), (255, 255, 255, 0)) def test_iss634(self): img = Image.open("Tests/images/iss634.gif")