Pillow/Tests/test_image_getim.py

10 lines
179 B
Python
Raw Normal View History

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)