From 14a9bba962032d21e08dc0e5364d0e1e6a0168e6 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 d567b73f0..90b97afd4 100644 --- a/Tests/test_imagefont_bitmap.py +++ b/Tests/test_imagefont_bitmap.py @@ -17,3 +17,5 @@ class TestImageFontBitmap(PillowTestCase): 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()