mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Fix skipping
This commit is contained in:
parent
184c380e10
commit
b7eb1de922
|
@ -13,10 +13,10 @@ try:
|
||||||
im = ImageGrab.grab()
|
im = ImageGrab.grab()
|
||||||
self.assert_image(im, im.mode, im.size)
|
self.assert_image(im, im.mode, im.size)
|
||||||
|
|
||||||
except ImportError as v:
|
except ImportError:
|
||||||
class TestImageCopy(PillowTestCase):
|
class TestImageCopy(PillowTestCase):
|
||||||
def test_skip(self):
|
def test_skip(self):
|
||||||
self.skipTest(v)
|
self.skipTest("ImportError")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user