Skip to content

Commit 0e22b0c

Browse files
committed
Removed unused code
1 parent 31eee6e commit 0e22b0c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/test_font_crash.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pytest
44

5-
from PIL import Image, ImageDraw, ImageFont
5+
from PIL import ImageFont
66

77
from .helper import skip_unless_feature
88

@@ -12,10 +12,6 @@ def _fuzz_font(self, font: ImageFont.FreeTypeFont) -> None:
1212
# from fuzzers.fuzz_font
1313
font.getbbox("ABC")
1414
font.getmask("test text")
15-
with Image.new(mode="RGBA", size=(200, 200)) as im:
16-
draw = ImageDraw.Draw(im)
17-
draw.multiline_textbbox((10, 10), "ABC\nAaaa", font, stroke_width=2)
18-
draw.text((10, 10), "Test Text", font=font, fill="#000")
1915

2016
@skip_unless_feature("freetype2")
2117
def test_segfault(self) -> None:

0 commit comments

Comments
 (0)