mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
pypy performance test
This commit is contained in:
parent
5def1010c7
commit
06d21bc709
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user