diff --git a/Tests/images/exif2.jpg b/Tests/images/exif2.jpg index 7f9e246ca3a..2491eb9f2c3 100644 Binary files a/Tests/images/exif2.jpg and b/Tests/images/exif2.jpg differ diff --git a/Tests/test_image.py b/Tests/test_image.py index 5211833cd91..94a27fa77f6 100644 --- a/Tests/test_image.py +++ b/Tests/test_image.py @@ -775,8 +775,8 @@ def test_empty_exif(self) -> None: exif.load(b"Exif\x00\x00") assert not dict(exif) - def test_empty_exif2(self) -> None: - with Image.open("Tests/images/exif2.png") as im: + def test_duplicate_exif_header(self) -> None: + with Image.open("Tests/images/exif2.jpg") as im: exif = im.getexif() assert dict(exif)