mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46: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):
|
||||
try:
|
||||
from PIL import _webp
|
||||
if not _webp.HAVE_WEBPMUX:
|
||||
self.skipTest('webpmux support not installed')
|
||||
except:
|
||||
self.skipTest('WebP support not installed')
|
||||
return
|
||||
|
||||
if not _webp.HAVE_WEBPMUX:
|
||||
self.skipTest('WebPMux support not installed')
|
||||
|
||||
|
||||
def test_read_exif_metadata(self):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user