Pillow/Tests/test_image_getim.py
Hugo van Kemenade 53c3cd9f8e isort Tests
2024-01-20 13:23:03 +02:00

12 lines
215 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)