adding KeyError exception

so the test not fail when there is no raqm lib.
This commit is contained in:
Fahad Al-Saidi 2016-12-14 11:49:21 +04:00 committed by wiredfool
parent 74e4ccc0ec
commit fd7a675de6

View File

@ -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()