Pillow/Tests/32bit_segfault_check.py
2019-06-13 18:53:42 +03:00

9 lines
129 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)