From 8a6f2b9de828df1ec18291f93d2ba6a297e1aea0 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 18 Oct 2018 18:18:44 +0300 Subject: [PATCH] flake8: E711 comparison to None should be 'if cond is None:' --- Tests/test_image.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Tests/test_image.py b/Tests/test_image.py index 73f391734..9618e1427 100644 --- a/Tests/test_image.py +++ b/Tests/test_image.py @@ -139,7 +139,6 @@ class TestImage(PillowTestCase): # Act/Assert # Shouldn't cause AttributeError (#774) self.assertFalse(item is None) - self.assertFalse(item == None) self.assertFalse(item == num) def test_expand_x(self):