Pillow/Tests/32bit_segfault_check.py

9 lines
128 B
Python
Raw Normal View History

2023-06-27 07:43:58 +03:00
#!/usr/bin/env python3
import sys
from PIL import Image
if sys.maxsize < 2**32:
im = Image.new("L", (999999, 999999), 0)