mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Replaced false assert with fail
This commit is contained in:
parent
803cdf068f
commit
cf575ff93e
|
@ -99,8 +99,7 @@ class TestBmpReference(PillowTestCase):
|
||||||
os.path.join(base, 'g', 'pal8rle.bmp'),
|
os.path.join(base, 'g', 'pal8rle.bmp'),
|
||||||
os.path.join(base, 'g', 'pal4rle.bmp'))
|
os.path.join(base, 'g', 'pal4rle.bmp'))
|
||||||
if f not in unsupported:
|
if f not in unsupported:
|
||||||
self.assertTrue(
|
self.fail("Unsupported Image %s: %s" % (f, msg))
|
||||||
False, "Unsupported Image %s: %s" % (f, msg))
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user