Simplified assertEqual checks to assertTrue

This commit is contained in:
Andrew Murray 2017-01-07 11:35:09 +11:00
parent dad5971561
commit 2a93cdb698

View File

@ -201,7 +201,7 @@ class TestImage(PillowTestCase):
ext = Image.registered_extensions()
# Assert
self.assertEqual(bool(ext), True)
self.assertTrue(bool(ext))
def test_registered_extensions(self):
# Arrange
@ -212,7 +212,7 @@ class TestImage(PillowTestCase):
ext = Image.registered_extensions()
# Assert
self.assertEqual(bool(ext), True)
self.assertTrue(bool(ext))
def test_effect_mandelbrot(self):
# Arrange