Pillow/Tests/32bit_segfault_check.py
2023-12-21 13:13:31 +02:00

10 lines
163 B
Python
Executable File

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