Added test

This commit is contained in:
Andrew Murray 2015-08-22 23:03:11 +10:00
parent 2d9f091a30
commit 60902efeb0

View File

@ -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()