Match error message

This commit is contained in:
Andrew Murray 2025-06-14 18:40:03 +10:00
parent 59667bbec5
commit ce8083e0d8

View File

@ -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)