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 916ef8c commit 9469df6Copy full SHA for 9469df6
1 file changed
Tests/test_file_gif.py
@@ -1481,7 +1481,9 @@ def test_saving_rgba(tmp_path: Path) -> None:
1481
1482
with Image.open(out) as reloaded:
1483
reloaded_rgba = reloaded.convert("RGBA")
1484
- value = reloaded_rgba.load()[0, 0]
+ px = reloaded_rgba.load()
1485
+ assert px is not None
1486
+ value = px[0, 0]
1487
assert isinstance(value, tuple)
1488
assert value[3] == 0
1489
0 commit comments