Skip to content

Commit aef6df2

Browse files
committed
Use ImageFile._Tile
1 parent 128f3f4 commit aef6df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_file_jpeg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ def decode(
10301030

10311031
with Image.open(TEST_FILE) as im:
10321032
im.tile = [
1033-
("INFINITE", (0, 0, 128, 128), 0, ("RGB", 0, 1)),
1033+
ImageFile._Tile("INFINITE", (0, 0, 128, 128), 0, ("RGB", 0, 1)),
10341034
]
10351035
ImageFile.LOAD_TRUNCATED_IMAGES = True
10361036
im.load()

0 commit comments

Comments
 (0)