mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-12 09:12:22 +03:00
tile is already empty list
This commit is contained in:
parent
aa6510fca2
commit
36640de607
|
@ -97,6 +97,7 @@ def test_getxmp() -> None:
|
||||||
== "Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 "
|
== "Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 "
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_4_byte_exif(monkeypatch: pytest.MonkeyPatch) -> None:
|
def test_4_byte_exif(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||||
class _mock_jpegxl:
|
class _mock_jpegxl:
|
||||||
class PILJpegXlDecoder:
|
class PILJpegXlDecoder:
|
||||||
|
|
|
@ -60,7 +60,6 @@ class JpegXlImageFile(ImageFile.ImageFile):
|
||||||
self.__timestamp = 0
|
self.__timestamp = 0
|
||||||
|
|
||||||
self._mode = mode
|
self._mode = mode
|
||||||
self.tile = []
|
|
||||||
|
|
||||||
if icc := self._decoder.get_icc():
|
if icc := self._decoder.get_icc():
|
||||||
self.info["icc_profile"] = icc
|
self.info["icc_profile"] = icc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user