Replaced false assert with fail

This commit is contained in:
Andrew Murray 2017-06-03 14:02:23 +10:00
parent 803cdf068f
commit cf575ff93e

View File

@ -99,8 +99,7 @@ class TestBmpReference(PillowTestCase):
os.path.join(base, 'g', 'pal8rle.bmp'),
os.path.join(base, 'g', 'pal4rle.bmp'))
if f not in unsupported:
self.assertTrue(
False, "Unsupported Image %s: %s" % (f, msg))
self.fail("Unsupported Image %s: %s" % (f, msg))
if __name__ == '__main__':