mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Skip webp mux with the right skip message
This commit is contained in:
parent
fe6a8cede7
commit
991c847c73
|
@ -8,10 +8,13 @@ class TestFileWebpMetadata(PillowTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
try:
|
try:
|
||||||
from PIL import _webp
|
from PIL import _webp
|
||||||
if not _webp.HAVE_WEBPMUX:
|
|
||||||
self.skipTest('webpmux support not installed')
|
|
||||||
except:
|
except:
|
||||||
self.skipTest('WebP support not installed')
|
self.skipTest('WebP support not installed')
|
||||||
|
return
|
||||||
|
|
||||||
|
if not _webp.HAVE_WEBPMUX:
|
||||||
|
self.skipTest('WebPMux support not installed')
|
||||||
|
|
||||||
|
|
||||||
def test_read_exif_metadata(self):
|
def test_read_exif_metadata(self):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user