mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
13 lines
252 B
Python
13 lines
252 B
Python
from __future__ import annotations
|
|
|
|
from .helper import hopper
|
|
|
|
|
|
def test_sanity() -> None:
|
|
im = hopper()
|
|
type_repr = repr(type(im.getim()))
|
|
|
|
assert "PyCapsule" in type_repr
|
|
assert im.im is not None
|
|
assert isinstance(im.im.id, int)
|