Pillow/Tests/32bit_segfault_check.py
2014-08-28 14:44:19 +03:00

9 lines
127 B
Python

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