Removed unused image open

This commit is contained in:
Andrew Murray 2025-01-01 10:49:24 +11:00
parent aa0f4127b8
commit beda2b6e8d

View File

@ -253,8 +253,7 @@ def test_truncated_mask() -> None:
try:
with Image.open(io.BytesIO(data)) as im:
with Image.open("Tests/images/hopper_mask.png") as expected:
assert im.mode == "1"
assert im.mode == "1"
# 32 bpp
output = io.BytesIO()