From 55ea6c01b1975f77dff9252c68f45849e18822bb Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 26 Mar 2014 13:31:20 -0700 Subject: [PATCH] OSError catching in the test as well --- Tests/test_imagetk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imagetk.py b/Tests/test_imagetk.py index 5c39c9283..b30971e8f 100644 --- a/Tests/test_imagetk.py +++ b/Tests/test_imagetk.py @@ -3,7 +3,7 @@ from tester import * from PIL import Image try: from PIL import ImageTk -except ImportError as v: +except (OSError, ImportError) as v: skip(v) success()