From b7eb1de922791f1604aac91c032de5cf4e3e2490 Mon Sep 17 00:00:00 2001 From: hugovk Date: Wed, 4 Jun 2014 17:09:59 +0300 Subject: [PATCH] Fix skipping --- test/test_imagegrab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_imagegrab.py b/test/test_imagegrab.py index fb953f435..2275d34a1 100644 --- a/test/test_imagegrab.py +++ b/test/test_imagegrab.py @@ -13,10 +13,10 @@ try: im = ImageGrab.grab() self.assert_image(im, im.mode, im.size) -except ImportError as v: +except ImportError: class TestImageCopy(PillowTestCase): def test_skip(self): - self.skipTest(v) + self.skipTest("ImportError") if __name__ == '__main__':