Pillow/Tests/32bit_segfault_check.py

9 lines
127 B
Python
Raw Normal View History

2014-07-06 02:08:11 +04:00
#!/usr/bin/env python
from PIL import Image
import sys
2014-07-06 02:08:11 +04:00
if sys.maxsize < 2**32:
im = Image.new('L', (999999, 999999), 0)