only catch ImportError same as test_imagefont.py

This commit is contained in:
Fahad Al-Saidi 2016-12-14 11:10:15 +04:00 committed by wiredfool
parent 697db864bd
commit 4ed6962364

View File

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