We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e6537d + 030a622 commit bd96420Copy full SHA for bd96420
Tests/test_imagefont.py
@@ -88,19 +88,6 @@ def test_non_ascii_path(self, tmp_path):
88
89
ImageFont.truetype(tempfile, FONT_SIZE)
90
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
104
def _render(self, font):
105
txt = "Hello World!"
106
ttf = ImageFont.truetype(font, FONT_SIZE, layout_engine=self.LAYOUT_ENGINE)
0 commit comments