mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
flake8: E711 comparison to None should be 'if cond is None:'
This commit is contained in:
parent
91da8ff31d
commit
8a6f2b9de8
|
@ -139,7 +139,6 @@ class TestImage(PillowTestCase):
|
||||||
# Act/Assert
|
# Act/Assert
|
||||||
# Shouldn't cause AttributeError (#774)
|
# Shouldn't cause AttributeError (#774)
|
||||||
self.assertFalse(item is None)
|
self.assertFalse(item is None)
|
||||||
self.assertFalse(item == None)
|
|
||||||
self.assertFalse(item == num)
|
self.assertFalse(item == num)
|
||||||
|
|
||||||
def test_expand_x(self):
|
def test_expand_x(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user