From 6de030a1658c9cc667344c9a75ed44714b4fa638 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sat, 1 Nov 2014 09:55:15 +0200 Subject: [PATCH] Don't use builtin as variable --- Tests/test_file_msp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_msp.py b/Tests/test_file_msp.py index 2245f9ed6..f4b1af75e 100644 --- a/Tests/test_file_msp.py +++ b/Tests/test_file_msp.py @@ -27,13 +27,13 @@ class TestFileMsp(PillowTestCase): self.assertEqual(im.size, (128, 128)) self.assert_image_similar(im, hopper("1"), 4) - def test_cannot_save_save_wrong_mode(self): + def test_cannot_save_wrong_mode(self): # Arrange im = hopper() - file = self.tempfile("temp.msp") + filename = self.tempfile("temp.msp") # Act/Assert - self.assertRaises(IOError, lambda: im.save(file)) + self.assertRaises(IOError, lambda: im.save(filename)) if __name__ == '__main__':