mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 11:53:32 +03:00
adding KeyError exception
so the test not fail when there is no raqm lib.
This commit is contained in:
parent
74e4ccc0ec
commit
fd7a675de6
|
@ -129,6 +129,10 @@ except ImportError:
|
||||||
class TestImagecomplextext(PillowTestCase):
|
class TestImagecomplextext(PillowTestCase):
|
||||||
def test_skip(self):
|
def test_skip(self):
|
||||||
self.skipTest("ImportError")
|
self.skipTest("ImportError")
|
||||||
|
except KeyError:
|
||||||
|
class TestImagecomplextext(PillowTestCase):
|
||||||
|
def test_skip(self):
|
||||||
|
self.skipTest("KeyError")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user