Skip to content

Commit

Permalink
Replace image, rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
zakajd committed Sep 5, 2024
1 parent 0f3beba commit 1ddeaa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Tests/images/exif2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1ddeaa6

Please sign in to comment.