File: test_image_getim.py

package info (click to toggle)
pillow 8.1.2%2Bdfsg-0.3%2Bdeb11u2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 65,628 kB
  • sloc: python: 35,630; ansic: 31,009; makefile: 388; javascript: 114; sh: 77
file content (9 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from .helper import hopper


def test_sanity():
    im = hopper()
    type_repr = repr(type(im.getim()))

    assert "PyCapsule" in type_repr
    assert isinstance(im.im.id, int)