Skip to content

Commit ce8083e

Browse files
committed
Match error message
1 parent 59667bb commit ce8083e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_file_blp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_save(tmp_path: Path) -> None:
6060
assert_image_similar_tofile(im, f, 8)
6161

6262
im = hopper()
63-
with pytest.raises(ValueError):
63+
with pytest.raises(ValueError, match="Unsupported BLP image mode"):
6464
im.save(f)
6565

6666

0 commit comments

Comments
 (0)