diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index d71d14a34d5..e21bf8cbf5c 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -1074,6 +1074,6 @@ def test_raqm_missing_warning(monkeypatch): @pytest.mark.parametrize("size", [-1, 0]) -def test_invalid_truetype_sizes_raise(layout_engine, size): +def test_invalid_truetype_sizes_raise_valueerror(layout_engine, size): with pytest.raises(ValueError): ImageFont.truetype(FONT_PATH, size, layout_engine=layout_engine)