We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3b05d6 commit 0d1edbaCopy full SHA for 0d1edba
Tests/test_file_gif.py
@@ -1422,7 +1422,9 @@ def test_getdata(monkeypatch: pytest.MonkeyPatch) -> None:
1422
def test_lzw_bits() -> None:
1423
# see https://github.com/python-pillow/Pillow/issues/2811
1424
with Image.open("Tests/images/issue_2811.gif") as im:
1425
- assert im.tile[0][3][0] == 11 # LZW bits
+ args = im.tile[0][3]
1426
+ assert isinstance(args, tuple)
1427
+ assert args[0] == 11 # LZW bits
1428
# codec error prepatch
1429
im.load()
1430
0 commit comments