mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-24 14:14:47 +03:00
Lint unhappy about not using im!
This commit is contained in:
parent
4ce0b2c367
commit
faa22386d1
|
@ -637,6 +637,7 @@ 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 then im will be undefined
|
||||
|
||||
def test_photoshop(self):
|
||||
im = Image.open("Tests/images/photoshop-200dpi.jpg")
|
||||
|
|
Loading…
Reference in New Issue
Block a user