flake8: E711 comparison to None should be 'if cond is None:'

This commit is contained in:
Hugo 2018-10-18 18:18:44 +03:00
parent 91da8ff31d
commit 8a6f2b9de8

View File

@ -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):