Fixed statements with no effect

This commit is contained in:
Andrew Murray 2015-04-02 19:57:24 +11:00
parent f2145baedb
commit 566153f59f
2 changed files with 7 additions and 7 deletions

View File

@ -49,10 +49,10 @@ class TestCffi(PillowTestCase):
self.skipTest("No cffi") self.skipTest("No cffi")
def _test_get_access(self, im): 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 Using private interfaces, forcing a capi access and
a pyaccess for the same image """ a pyaccess for the same image"""
caccess = im.im.pixel_access(False) caccess = im.im.pixel_access(False)
access = PyAccess.new(im, False) access = PyAccess.new(im, False)
@ -90,10 +90,10 @@ class TestCffi(PillowTestCase):
# self._test_get_access(im) # self._test_get_access(im)
def _test_set_access(self, im, color): 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 Using private interfaces, forcing a capi access and
a pyaccess for the same image """ a pyaccess for the same image"""
caccess = im.im.pixel_access(False) caccess = im.im.pixel_access(False)
access = PyAccess.new(im, False) access = PyAccess.new(im, False)

View File

@ -96,7 +96,7 @@ class TestFileWebpMetadata(PillowTestCase):
file_path = "Tests/images/flower.jpg" file_path = "Tests/images/flower.jpg"
image = Image.open(file_path) image = Image.open(file_path)
image.info['exif'] self.assertTrue('exif' in image.info)
buffer = BytesIO() buffer = BytesIO()