Pillow/Tests/test_image_getim.py

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

11 lines
214 B
Python
Raw Normal View History

from __future__ import annotations
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)