Update Tests/test_imagefont.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Aarni Koskela 2023-11-29 09:21:51 +02:00 committed by GitHub
parent 39ec56c6ea
commit 36e0b5312a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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