mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +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)
|
||||
|
||||
except (KeyError, ImportError):
|
||||
except ImportError:
|
||||
class TestImagecomplextext(PillowTestCase):
|
||||
def test_skip(self):
|
||||
self.skipTest("KeyError")
|
||||
self.skipTest("ImportError")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in New Issue
Block a user