Skip to content

Commit

Permalink
Merge pull request #6082 from radarhere/duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Feb 22, 2022
2 parents 9e6537d + 030a622 commit bd96420
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Tests/test_imagefont.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,6 @@ def test_non_ascii_path(self, tmp_path):

ImageFont.truetype(tempfile, FONT_SIZE)

def test_unavailable_layout_engine(self):
have_raqm = ImageFont.core.HAVE_RAQM
ImageFont.core.HAVE_RAQM = False

try:
ttf = ImageFont.truetype(
FONT_PATH, FONT_SIZE, layout_engine=ImageFont.Layout.RAQM
)
finally:
ImageFont.core.HAVE_RAQM = have_raqm

assert ttf.layout_engine == ImageFont.Layout.BASIC

def _render(self, font):
txt = "Hello World!"
ttf = ImageFont.truetype(font, FONT_SIZE, layout_engine=self.LAYOUT_ENGINE)
Expand Down

0 comments on commit bd96420

Please sign in to comment.