Remove unnecessary lambda

This commit is contained in:
hugovk 2017-03-04 23:19:41 +02:00
parent 5d2e4f48dd
commit 052905bf5c

View File

@ -32,7 +32,7 @@ class TestFileGribStub(PillowTestCase):
im = Image.open(TEST_FILE)
# Act / Assert: stub cannot load without an implemented handler
self.assertRaises(IOError, lambda: im.load())
self.assertRaises(IOError, im.load)
def test_save(self):
# Arrange