mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Review comments
This commit is contained in:
parent
e0cbef34fb
commit
212508b3f2
|
@ -87,8 +87,6 @@ class SunImageFile(ImageFile.ImageFile):
|
|||
else:
|
||||
raise SyntaxError("Unsupported Mode/Bit Depth")
|
||||
|
||||
|
||||
|
||||
if palette_length:
|
||||
if palette_length > 1024:
|
||||
raise SyntaxError("Unsupported Color Palette Length")
|
||||
|
|
|
@ -38,7 +38,6 @@ class TestFileSun(PillowTestCase):
|
|||
os.listdir(EXTRA_DIR) if os.path.splitext(f)[1]
|
||||
in ('.sun', '.SUN', '.ras'))
|
||||
for path in files:
|
||||
print (path)
|
||||
with Image.open(path) as im:
|
||||
im.load()
|
||||
self.assertIsInstance(im, SunImagePlugin.SunImageFile)
|
||||
|
|
Loading…
Reference in New Issue
Block a user