mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-17 11:42:25 +03:00
Match error message
This commit is contained in:
parent
59667bbec5
commit
ce8083e0d8
|
@ -60,7 +60,7 @@ def test_save(tmp_path: Path) -> None:
|
||||||
assert_image_similar_tofile(im, f, 8)
|
assert_image_similar_tofile(im, f, 8)
|
||||||
|
|
||||||
im = hopper()
|
im = hopper()
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError, match="Unsupported BLP image mode"):
|
||||||
im.save(f)
|
im.save(f)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user