diff --git a/PIL/ImageFilter.py b/PIL/ImageFilter.py index 71f42c3ac..c13f75bbc 100644 --- a/PIL/ImageFilter.py +++ b/PIL/ImageFilter.py @@ -17,7 +17,7 @@ from functools import reduce -class Filter: +class Filter(object): pass ## diff --git a/Tests/test_file_webp.py b/Tests/test_file_webp.py index 0d2c984b0..5d48f0aff 100644 --- a/Tests/test_file_webp.py +++ b/Tests/test_file_webp.py @@ -2,7 +2,12 @@ from tester import * 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?""" file = "Images/lena.webp"