From d69e252eb820852148a97c2e3fea14abfcde156f Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 5 Mar 2017 09:14:44 +0200 Subject: [PATCH] Remove unnecessary lambda --- Tests/test_file_bufrstub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_bufrstub.py b/Tests/test_file_bufrstub.py index e2b63afc4..4932930ff 100644 --- a/Tests/test_file_bufrstub.py +++ b/Tests/test_file_bufrstub.py @@ -32,7 +32,7 @@ class TestFileBufrStub(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