From 36a8aba1d7c2be55fa1880cf5209a73fc10e2dd9 Mon Sep 17 00:00:00 2001 From: Yifu Yu Date: Fri, 7 Nov 2014 22:13:58 +0800 Subject: [PATCH] Make bitmap test runnable as a standalone. --- Tests/test_imagefont_bitmap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/test_imagefont_bitmap.py b/Tests/test_imagefont_bitmap.py index d567b73f07d..90b97afd428 100644 --- a/Tests/test_imagefont_bitmap.py +++ b/Tests/test_imagefont_bitmap.py @@ -17,3 +17,5 @@ def test_similar(self): draw_outline.text((0, 0), text, fill=(0, 0, 0), font=font_outline) self.assert_image_similar(im_bitmap, im_outline, 0.01) +if __name__ == '__main__': + unittest.main()