mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Fixed statements with no effect
This commit is contained in:
parent
f2145baedb
commit
566153f59f
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user