mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-15 09:44:46 +03:00
Always check XMLPacket value
This commit is contained in:
parent
7dbcb32cbe
commit
a6acc67660
|
@ -365,8 +365,7 @@ class TestFileLibTiff(LibTiffTestCase):
|
||||||
|
|
||||||
with Image.open(out) as reloaded:
|
with Image.open(out) as reloaded:
|
||||||
assert isinstance(reloaded, TiffImagePlugin.TiffImageFile)
|
assert isinstance(reloaded, TiffImagePlugin.TiffImageFile)
|
||||||
if 700 in reloaded.tag_v2:
|
assert reloaded.tag_v2[700] == b"xmlpacket tag"
|
||||||
assert reloaded.tag_v2[700] == b"xmlpacket tag"
|
|
||||||
|
|
||||||
def test_int_dpi(self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
|
def test_int_dpi(self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
|
||||||
# issue #1765
|
# issue #1765
|
||||||
|
|
Loading…
Reference in New Issue
Block a user