mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-09 06:13:30 +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)
|
||||
|
||||
im = hopper()
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(ValueError, match="Unsupported BLP image mode"):
|
||||
im.save(f)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user