From 030a6225deba103e76d511fb1bb500f2ceb100aa Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 22 Feb 2022 11:03:36 +1100 Subject: [PATCH] Removed duplicate test --- Tests/test_imagefont.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index 177b18202..f9d0a4c4f 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -88,19 +88,6 @@ class TestImageFont: 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)