From fd04284602e1b93f3ba4090cfd8a4ddde2ddb90e Mon Sep 17 00:00:00 2001 From: paddywwoof Date: Sun, 11 Aug 2019 18:50:26 +0100 Subject: [PATCH] line too long for lint? --- Tests/test_file_jpeg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py index b253f6093..d18252d97 100644 --- a/Tests/test_file_jpeg.py +++ b/Tests/test_file_jpeg.py @@ -637,7 +637,9 @@ class TestFileJpeg(PillowTestCase): # This image has some corrupt exif offsets that unpack to values greater # than ssize_t on 32 bit systems im = Image.open("Tests/images/corrupt_exif.jpg") - assert im is not None # if previous line fails, im will be undefined so assert fail + assert ( + im is not None + ) # if previous line fails, im will be undefined and assertion fail def test_photoshop(self): im = Image.open("Tests/images/photoshop-200dpi.jpg")