diff --git a/Tests/test_bmp_reference.py b/Tests/test_bmp_reference.py index fa4571e60..8e84cc8f1 100644 --- a/Tests/test_bmp_reference.py +++ b/Tests/test_bmp_reference.py @@ -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__':