mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Check for unsupported bitmap compression/encoding
This commit is contained in:
parent
14175b786d
commit
0a156ca68a
|
@ -77,5 +77,10 @@ def test_good():
|
|||
|
||||
|
||||
except Exception as msg:
|
||||
print ("Unsupported Image %s: %s" %(f,msg))
|
||||
pass
|
||||
# there are three here that are unsupported:
|
||||
unsupported = ('Tests/images/bmp/g/rgb32bf.bmp',
|
||||
'Tests/images/bmp/g/pal8rle.bmp',
|
||||
'Tests/images/bmp/g/pal4rle.bmp')
|
||||
if f not in unsupported:
|
||||
assert_true(False, "Unsupported Image %s: %s" %(f,msg))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user