mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-16 23:32:01 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fa5bfacbd6
commit
0b71605dbf
|
@ -88,10 +88,12 @@ def test_getxmp() -> None:
|
|||
):
|
||||
assert im.getxmp() == {}
|
||||
|
||||
|
||||
def test_fix_exif_fail() -> None:
|
||||
with Image.open("Tests/images/flower2.jxl") as image:
|
||||
assert image._fix_exif(b"\0\0\0\0") is None
|
||||
|
||||
|
||||
def test_read_exif_metadata_empty() -> None:
|
||||
with Image.open("Tests/images/hopper.jxl") as image:
|
||||
assert(image._getexif() is None)
|
||||
assert image._getexif() is None
|
||||
|
|
Loading…
Reference in New Issue
Block a user