diff --git a/Tests/test_file_gribstub.py b/Tests/test_file_gribstub.py index 80e141503..dc0fa22d7 100644 --- a/Tests/test_file_gribstub.py +++ b/Tests/test_file_gribstub.py @@ -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