Fixing a typo in comments

This commit is contained in:
Jason Douglas 2017-10-03 08:05:20 -07:00
parent b3565d8ae3
commit cf31e70735
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class TestFileWebp(PillowTestCase):
self.skipTest('WebP support not installed') self.skipTest('WebP support not installed')
return return
# WebPAnimDecoder only retuns RGBA or RGBX, never RGB # WebPAnimDecoder only returns RGBA or RGBX, never RGB
self.rgb_mode = "RGBX" if _webp.HAVE_WEBPANIM else "RGB" self.rgb_mode = "RGBX" if _webp.HAVE_WEBPANIM else "RGB"
def test_version(self): def test_version(self):

View File

@ -19,7 +19,7 @@ class TestFileWebpLossless(PillowTestCase):
if (_webp.WebPDecoderVersion() < 0x0200): if (_webp.WebPDecoderVersion() < 0x0200):
self.skipTest('lossless not included') self.skipTest('lossless not included')
# WebPAnimDecoder only retuns RGBA or RGBX, never RGB # WebPAnimDecoder only returns RGBA or RGBX, never RGB
self.rgb_mode = "RGBX" if _webp.HAVE_WEBPANIM else "RGB" self.rgb_mode = "RGBX" if _webp.HAVE_WEBPANIM else "RGB"
def test_write_lossless_rgb(self): def test_write_lossless_rgb(self):