Pillow/Tests/test_image_getim.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
223 B
Python
Raw Normal View History

from __future__ import annotations
2024-01-20 14:23:03 +03:00
from .helper import hopper
2016-02-05 01:57:13 +03:00
2024-01-25 14:18:46 +03:00
def test_sanity() -> None:
im = hopper()
type_repr = repr(type(im.getim()))
assert "PyCapsule" in type_repr
assert isinstance(im.im.id, int)