mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Removed unnecessary pass lines and commented debugging lines
This commit is contained in:
parent
8193a07305
commit
540a225ea0
|
@ -225,8 +225,8 @@ def load(filename):
|
||||||
p = PaletteFile.PaletteFile(fp)
|
p = PaletteFile.PaletteFile(fp)
|
||||||
lut = p.getpalette()
|
lut = p.getpalette()
|
||||||
except (SyntaxError, ValueError):
|
except (SyntaxError, ValueError):
|
||||||
import traceback
|
#import traceback
|
||||||
traceback.print_exc()
|
#traceback.print_exc()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if not lut:
|
if not lut:
|
||||||
|
|
|
@ -9,7 +9,6 @@ class TestImageShow(PillowTestCase):
|
||||||
def test_sanity(self):
|
def test_sanity(self):
|
||||||
dir(Image)
|
dir(Image)
|
||||||
dir(ImageShow)
|
dir(ImageShow)
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -8,7 +8,6 @@ class TestImageWin(PillowTestCase):
|
||||||
|
|
||||||
def test_sanity(self):
|
def test_sanity(self):
|
||||||
dir(ImageWin)
|
dir(ImageWin)
|
||||||
pass
|
|
||||||
|
|
||||||
def test_hdc(self):
|
def test_hdc(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
|
|
Loading…
Reference in New Issue
Block a user