Merge pull request #8666 from radarhere/imagefile_tile

This commit is contained in:
Hugo van Kemenade 2025-01-08 19:09:33 +02:00 committed by GitHub
commit e8040a7a0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1037,7 +1037,7 @@ class TestFileJpeg:
with Image.open(TEST_FILE) as im:
im.tile = [
("INFINITE", (0, 0, 128, 128), 0, ("RGB", 0, 1)),
ImageFile._Tile("INFINITE", (0, 0, 128, 128), 0, ("RGB", 0, 1)),
]
ImageFile.LOAD_TRUNCATED_IMAGES = True
im.load()