Skip to content

Commit

Permalink
restored coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Jul 19, 2023
1 parent b6f4e89 commit 2c31797
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/read_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ def test_depth_image():
im = Image.open("images/heif_other/pug.heic")
assert len(im.info["depth_images"]) == 1
depth_image = im.info["depth_images"][0]
assert str(depth_image) == "<HeifDepthImage 768x576 L>"
assert isinstance(depth_image, pillow_heif.HeifDepthImage)
helpers.compare_hashes([depth_image.to_pillow(), "images/non_heif/pug_depth.png"], hash_size=128)
assert depth_image.info
Expand Down

0 comments on commit 2c31797

Please sign in to comment.