Use ImageFile._Tile
This commit is contained in:
parent
128f3f46d4
commit
aef6df2d04
@ -1030,7 +1030,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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user