Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced test image to fix xfail #6284

Merged
merged 1 commit into from May 10, 2022
Merged

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.

None yet

2 participants