diff --git a/Tests/test_imagefontctl.py b/Tests/test_imagefontctl.py index 31e9630b6..2a6463159 100644 --- a/Tests/test_imagefontctl.py +++ b/Tests/test_imagefontctl.py @@ -129,6 +129,10 @@ except ImportError: class TestImagecomplextext(PillowTestCase): def test_skip(self): self.skipTest("ImportError") +except KeyError: + class TestImagecomplextext(PillowTestCase): + def test_skip(self): + self.skipTest("KeyError") if __name__ == '__main__': unittest.main()