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

11 lines
214 B
Python

from __future__ import annotations
from .helper import hopper
def test_sanity():
im = hopper()
type_repr = repr(type(im.getim()))
assert "PyCapsule" in type_repr
assert isinstance(im.im.id, int)