From 06d21bc709e80ffb97429ed85dde5530d3888526 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 23 Jul 2014 15:29:10 -0700 Subject: [PATCH] pypy performance test --- Tests/test_image_putdata.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/test_image_putdata.py b/Tests/test_image_putdata.py index c7c3115aa..036ee285f 100644 --- a/Tests/test_image_putdata.py +++ b/Tests/test_image_putdata.py @@ -42,6 +42,10 @@ class TestImagePutData(PillowTestCase): self.assertEqual(put(sys.maxsize), (255, 255, 255, 127)) + def test_pypy_performance(self): + im = Image.new('L', (256,256)) + im.putdata(list(range(256))*256) + if __name__ == '__main__': unittest.main()