mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Removed unused argument
This commit is contained in:
parent
407aa77db4
commit
806df2e7db
|
@ -24,7 +24,7 @@ class TestImageSequence(PillowTestCase):
|
||||||
|
|
||||||
self.assertRaises(AttributeError, lambda: ImageSequence.Iterator(0))
|
self.assertRaises(AttributeError, lambda: ImageSequence.Iterator(0))
|
||||||
|
|
||||||
def _test_multipage_tiff(self, dbg=False):
|
def _test_multipage_tiff(self):
|
||||||
im = Image.open('Tests/images/multipage.tiff')
|
im = Image.open('Tests/images/multipage.tiff')
|
||||||
for index, frame in enumerate(ImageSequence.Iterator(im)):
|
for index, frame in enumerate(ImageSequence.Iterator(im)):
|
||||||
frame.load()
|
frame.load()
|
||||||
|
@ -32,8 +32,7 @@ class TestImageSequence(PillowTestCase):
|
||||||
frame.convert('RGB')
|
frame.convert('RGB')
|
||||||
|
|
||||||
def test_tiff(self):
|
def test_tiff(self):
|
||||||
# self._test_multipage_tiff(True)
|
self._test_multipage_tiff()
|
||||||
self._test_multipage_tiff(False)
|
|
||||||
|
|
||||||
def test_libtiff(self):
|
def test_libtiff(self):
|
||||||
codecs = dir(Image.core)
|
codecs = dir(Image.core)
|
||||||
|
@ -42,8 +41,7 @@ class TestImageSequence(PillowTestCase):
|
||||||
self.skipTest("tiff support not available")
|
self.skipTest("tiff support not available")
|
||||||
|
|
||||||
TiffImagePlugin.READ_LIBTIFF = True
|
TiffImagePlugin.READ_LIBTIFF = True
|
||||||
# self._test_multipage_tiff(True)
|
self._test_multipage_tiff()
|
||||||
self._test_multipage_tiff(False)
|
|
||||||
TiffImagePlugin.READ_LIBTIFF = False
|
TiffImagePlugin.READ_LIBTIFF = False
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user