mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-15 23:01:59 +03:00
Assert all images in loop
This commit is contained in:
parent
fc3a159c87
commit
4352edb1ec
|
@ -228,12 +228,10 @@ class TestFileEps(PillowTestCase):
|
|||
"Tests/images/illuCS6_no_preview.eps",
|
||||
"Tests/images/illuCS6_preview.eps"]
|
||||
|
||||
# Act
|
||||
# Act / Assert
|
||||
for filename in FILES:
|
||||
img = Image.open(filename)
|
||||
|
||||
# Assert
|
||||
self.assertEqual(img.mode, "RGB")
|
||||
self.assertEqual(img.mode, "RGB")
|
||||
|
||||
def test_emptyline(self):
|
||||
# Test file includes an empty line in the header data
|
||||
|
|
Loading…
Reference in New Issue
Block a user