diff --git a/Tests/test_cffi.py b/Tests/test_cffi.py index 5599dbb48..5d5427685 100644 --- a/Tests/test_cffi.py +++ b/Tests/test_cffi.py @@ -49,10 +49,10 @@ class TestCffi(PillowTestCase): self.skipTest("No cffi") def _test_get_access(self, im): - """ Do we get the same thing as the old pixel access """ + """Do we get the same thing as the old pixel access - """ Using private interfaces, forcing a capi access and - a pyaccess for the same image """ + Using private interfaces, forcing a capi access and + a pyaccess for the same image""" caccess = im.im.pixel_access(False) access = PyAccess.new(im, False) @@ -90,10 +90,10 @@ class TestCffi(PillowTestCase): # self._test_get_access(im) def _test_set_access(self, im, color): - """ Are we writing the correct bits into the image? """ + """Are we writing the correct bits into the image? - """ Using private interfaces, forcing a capi access and - a pyaccess for the same image """ + Using private interfaces, forcing a capi access and + a pyaccess for the same image""" caccess = im.im.pixel_access(False) access = PyAccess.new(im, False) diff --git a/Tests/test_file_webp_metadata.py b/Tests/test_file_webp_metadata.py index 08d42d7c6..9093f31ba 100644 --- a/Tests/test_file_webp_metadata.py +++ b/Tests/test_file_webp_metadata.py @@ -96,7 +96,7 @@ class TestFileWebpMetadata(PillowTestCase): file_path = "Tests/images/flower.jpg" image = Image.open(file_path) - image.info['exif'] + self.assertTrue('exif' in image.info) buffer = BytesIO()