Skip to content

Commit bd96420

Browse files
authored
Merge pull request #6082 from radarhere/duplicate
2 parents 9e6537d + 030a622 commit bd96420

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Tests/test_imagefont.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,6 @@ def test_non_ascii_path(self, tmp_path):
8888

8989
ImageFont.truetype(tempfile, FONT_SIZE)
9090

91-
def test_unavailable_layout_engine(self):
92-
have_raqm = ImageFont.core.HAVE_RAQM
93-
ImageFont.core.HAVE_RAQM = False
94-
95-
try:
96-
ttf = ImageFont.truetype(
97-
FONT_PATH, FONT_SIZE, layout_engine=ImageFont.Layout.RAQM
98-
)
99-
finally:
100-
ImageFont.core.HAVE_RAQM = have_raqm
101-
102-
assert ttf.layout_engine == ImageFont.Layout.BASIC
103-
10491
def _render(self, font):
10592
txt = "Hello World!"
10693
ttf = ImageFont.truetype(font, FONT_SIZE, layout_engine=self.LAYOUT_ENGINE)

0 commit comments

Comments
 (0)