Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented May 9, 2022

Fixes an xfail.

@pytest.mark.xfail(reason="different exception")
def test_exception_ico(self):
with pytest.raises(Image.DecompressionBombError):
with Image.open("Tests/images/decompression_bomb.ico"):
pass

I've recreated the test image by hex-editting a copy of Tests/images/black_and_white.ico

The xfail was added in #5377

@hugovk hugovk merged commit b2b294b into python-pillow:main May 10, 2022
@radarhere radarhere deleted the xfail branch May 10, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants