mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Removed unnecessary lambda
This commit is contained in:
parent
674515d568
commit
407aa77db4
|
@ -110,7 +110,7 @@ class TestFileTiff(PillowTestCase):
|
|||
def test_bad_exif(self):
|
||||
i = Image.open('Tests/images/hopper_bad_exif.jpg')
|
||||
try:
|
||||
self.assert_warning(UserWarning, lambda: i._getexif())
|
||||
self.assert_warning(UserWarning, i._getexif)
|
||||
except struct.error:
|
||||
self.fail(
|
||||
"Bad EXIF data passed incorrect values to _binary unpack")
|
||||
|
|
Loading…
Reference in New Issue
Block a user