mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #171 from wiredfool/ubuntu10-04
Ubuntu 10.04 tests pass on distro stock python.
This commit is contained in:
commit
93a488ef76
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
class Filter:
|
class Filter(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
@ -2,7 +2,12 @@ from tester import *
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
def xtest_read():
|
try:
|
||||||
|
import _webp
|
||||||
|
except:
|
||||||
|
skip('webp support not installed')
|
||||||
|
|
||||||
|
def test_read():
|
||||||
""" Can we write a webp without error. Does it have the bits we expect?"""
|
""" Can we write a webp without error. Does it have the bits we expect?"""
|
||||||
|
|
||||||
file = "Images/lena.webp"
|
file = "Images/lena.webp"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user