Fix invalid_args test for older versions of libwebp

This commit is contained in:
Jason Douglas 2017-09-27 20:21:18 -07:00
parent 247c2f59a1
commit 5b2dd29f44

View File

@ -120,7 +120,7 @@ class TestFileWebp(PillowTestCase):
Calling encoder functions with no arguments should result in an error.
"""
if _webp.HAVE_WEBPMUX:
if _webp.HAVE_WEBPANIM:
self.assertRaises(TypeError, _webp.WebPAnimEncoder)
self.assertRaises(TypeError, _webp.WebPEncode)
@ -129,7 +129,7 @@ class TestFileWebp(PillowTestCase):
Calling decoder functions with no arguments should result in an error.
"""
if _webp.HAVE_WEBPMUX:
if _webp.HAVE_WEBPANIM:
self.assertRaises(TypeError, _webp.WebPAnimDecoder)
self.assertRaises(TypeError, _webp.WebPDecode)