From 60902efeb0b6384286bedab8c69ee05f6ee90105 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 22 Aug 2015 23:03:11 +1000 Subject: [PATCH] Added test --- Tests/test_image_quantize.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/test_image_quantize.py b/Tests/test_image_quantize.py index e8183eb48..986a0a6cc 100644 --- a/Tests/test_image_quantize.py +++ b/Tests/test_image_quantize.py @@ -28,6 +28,10 @@ class TestImageQuantize(PillowTestCase): im.quantize() self.assertRaises(Exception, lambda: im.quantize(method=0)) + def test_quantize(self): + im = Image.open('Tests/images/caption_6_33_22.png') + im.convert('RGB').quantize().convert('RGB') + if __name__ == '__main__': unittest.main()