Skip to content

Commit dc6a3b3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 69c080c commit dc6a3b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/test_imagefont.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def test_load_raises_if_image_not_found(tmp_path) -> None:
465465
font_path.write_bytes(b"")
466466
with pytest.raises(OSError) as excinfo:
467467
ImageFont.load(font_path)
468-
468+
469469
pre = tmp_path / "file"
470470
msg = f"cannot find glyph data file {pre}.{{png|gif|pbm}}"
471471
assert msg in str(excinfo.value)

src/PIL/ImageFont.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def truetype(
856856
:return: A font object.
857857
:exception OSError: If the file could not be read.
858858
:exception ValueError: If the font size is not greater than zero.
859-
859+
860860
.. seealso:: :py:func:`PIL.ImageFont.load`
861861
"""
862862

0 commit comments

Comments
 (0)