mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 19:36:38 +03:00
only catch ImportError same as test_imagefont.py
This commit is contained in:
parent
697db864bd
commit
4ed6962364
|
@ -125,10 +125,10 @@ try:
|
||||||
|
|
||||||
self.assert_image_similar(im, target_img, .5)
|
self.assert_image_similar(im, target_img, .5)
|
||||||
|
|
||||||
except (KeyError, ImportError):
|
except ImportError:
|
||||||
class TestImagecomplextext(PillowTestCase):
|
class TestImagecomplextext(PillowTestCase):
|
||||||
def test_skip(self):
|
def test_skip(self):
|
||||||
self.skipTest("KeyError")
|
self.skipTest("ImportError")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user