Skip to content

Commit

Permalink
add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandede committed May 8, 2024
1 parent 50e67c5 commit acfdd8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_pillow.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,3 +719,10 @@ def test_avif_remote():
url = "https://github.com/link-u/avif-sample-images/raw/master/fox.profile0.10bpc.yuv420.avif"
im = iio.imread(url, plugin="pillow")
assert im.shape == (800, 1204, 3)


@pytest.mark.needs_internet
def test_jpeg_of_issue_1065():
url = "https://imagenes.20minutos.es/files/image_1920_1080/uploads/imagenes/2022/09/09/fotografia-a-coruna.jpeg"
im = iio.imread(url, plugin="pillow")
assert im.shape == (1080, 1920, 3)

0 comments on commit acfdd8a

Please sign in to comment.