mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-10 06:12:27 +03:00
Updated comment
This commit is contained in:
parent
caede14465
commit
abf088fae5
|
@ -9,7 +9,8 @@ from .helper import skip_unless_feature
|
||||||
|
|
||||||
class TestFontCrash:
|
class TestFontCrash:
|
||||||
def _fuzz_font(self, font: ImageFont.FreeTypeFont) -> None:
|
def _fuzz_font(self, font: ImageFont.FreeTypeFont) -> None:
|
||||||
# from fuzzers.fuzz_font
|
# Copy of the code from fuzz_font() in Tests/oss-fuzz/fuzzers.py
|
||||||
|
# that triggered a problem when fuzzing
|
||||||
font.getbbox("ABC")
|
font.getbbox("ABC")
|
||||||
font.getmask("test text")
|
font.getmask("test text")
|
||||||
with Image.new(mode="RGBA", size=(200, 200)) as im:
|
with Image.new(mode="RGBA", size=(200, 200)) as im:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user