mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
reenable basic webp test, skip if support not installed
This commit is contained in:
parent
7129baa9b2
commit
86bb25e735
|
@ -2,7 +2,12 @@ from tester import *
|
|||
|
||||
from PIL import Image
|
||||
|
||||
def xtest_read():
|
||||
codecs = dir(Image.core)
|
||||
|
||||
if "webp_encoder" not in codecs or "webp_decoder" not in codecs:
|
||||
skip("webp support not available")
|
||||
|
||||
def test_read():
|
||||
""" Can we write a webp without error. Does it have the bits we expect?"""
|
||||
|
||||
file = "Images/lena.webp"
|
||||
|
|
Loading…
Reference in New Issue
Block a user