Merge pull request #787 from wiredfool/32bit_segfault_test

Make 32bit sefrault test safer
This commit is contained in:
wiredfool 2014-07-07 11:49:01 -07:00
commit cf763ea036
2 changed files with 10 additions and 7 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env python
from PIL import Image
import sys
if sys.maxsize < 2**32:
im = Image.new('L', (999999, 999999), 0)

View File

@ -1,7 +0,0 @@
#!/usr/bin/env python
from PIL import Image
im = Image.new('L', (999999, 999999), 0)