mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-24 14:14:47 +03:00
line too long for lint?
This commit is contained in:
parent
662a8a6c1a
commit
fd04284602
|
@ -637,7 +637,9 @@ class TestFileJpeg(PillowTestCase):
|
||||||
# This image has some corrupt exif offsets that unpack to values greater
|
# This image has some corrupt exif offsets that unpack to values greater
|
||||||
# than ssize_t on 32 bit systems
|
# than ssize_t on 32 bit systems
|
||||||
im = Image.open("Tests/images/corrupt_exif.jpg")
|
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):
|
def test_photoshop(self):
|
||||||
im = Image.open("Tests/images/photoshop-200dpi.jpg")
|
im = Image.open("Tests/images/photoshop-200dpi.jpg")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user