mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Assert all images in loop
This commit is contained in:
parent
fc3a159c87
commit
4352edb1ec
|
@ -228,11 +228,9 @@ class TestFileEps(PillowTestCase):
|
||||||
"Tests/images/illuCS6_no_preview.eps",
|
"Tests/images/illuCS6_no_preview.eps",
|
||||||
"Tests/images/illuCS6_preview.eps"]
|
"Tests/images/illuCS6_preview.eps"]
|
||||||
|
|
||||||
# Act
|
# Act / Assert
|
||||||
for filename in FILES:
|
for filename in FILES:
|
||||||
img = Image.open(filename)
|
img = Image.open(filename)
|
||||||
|
|
||||||
# Assert
|
|
||||||
self.assertEqual(img.mode, "RGB")
|
self.assertEqual(img.mode, "RGB")
|
||||||
|
|
||||||
def test_emptyline(self):
|
def test_emptyline(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user