diff --git a/PIL/ImagePalette.py b/PIL/ImagePalette.py index 62f8814f1..c6c05d162 100644 --- a/PIL/ImagePalette.py +++ b/PIL/ImagePalette.py @@ -225,8 +225,8 @@ def load(filename): p = PaletteFile.PaletteFile(fp) lut = p.getpalette() except (SyntaxError, ValueError): - import traceback - traceback.print_exc() + #import traceback + #traceback.print_exc() pass if not lut: diff --git a/Tests/test_imageshow.py b/Tests/test_imageshow.py index e94ae2d0a..236d6e224 100644 --- a/Tests/test_imageshow.py +++ b/Tests/test_imageshow.py @@ -9,7 +9,6 @@ class TestImageShow(PillowTestCase): def test_sanity(self): dir(Image) dir(ImageShow) - pass if __name__ == '__main__': diff --git a/Tests/test_imagewin.py b/Tests/test_imagewin.py index 6fb58a0dc..7cfd7fe5c 100644 --- a/Tests/test_imagewin.py +++ b/Tests/test_imagewin.py @@ -8,7 +8,6 @@ class TestImageWin(PillowTestCase): def test_sanity(self): dir(ImageWin) - pass def test_hdc(self): # Arrange