mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Fix accidental indent
This commit is contained in:
parent
cdadf931e3
commit
fcca8a3059
|
@ -487,8 +487,8 @@ def test_load_path_exisitng_path(tmp_path) -> None:
|
|||
some_path = tmp_path / "file.ttf"
|
||||
with pytest.raises(OSError) as excinfo:
|
||||
ImageFont.load_path(str(some_path))
|
||||
assert str(some_path) in str(excinfo.value)
|
||||
assert "did you mean" not in str(excinfo.value)
|
||||
assert str(some_path) in str(excinfo.value)
|
||||
assert "did you mean" not in str(excinfo.value)
|
||||
|
||||
# The file exists, so the error message suggests to use `load` instead
|
||||
some_path.write_bytes(b"")
|
||||
|
|
Loading…
Reference in New Issue
Block a user