Pillow/Tests/32bit_segfault_check.py
2017-03-31 19:43:19 +11:00

9 lines
127 B
Python
Executable File

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