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
215 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
def test_sanity():
im = hopper()
type_repr = repr(type(im.getim()))
assert "PyCapsule" in type_repr
assert isinstance(im.im.id, int)