mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Simplified assertEqual checks to assertTrue
This commit is contained in:
parent
dad5971561
commit
2a93cdb698
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user