mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Update Tests/test_imagefont.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
39ec56c6ea
commit
36e0b5312a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user