diff --git a/Lib/test/test_rgbimg.py b/Lib/test/test_rgbimg.py index cdadc660dd5..52814b4ede5 100644 --- a/Lib/test/test_rgbimg.py +++ b/Lib/test/test_rgbimg.py @@ -23,7 +23,8 @@ def testimg(rgb_file, raw_file): raise error, 'bad image length' raw = open(raw_file, 'r').read() if rgb != raw: - raise error, 'images don\'t match for '+rgb_file+' and '+raw_file + raise error, \ + 'images don\'t match for '+rgb_file+' and '+raw_file for depth in [1, 3, 4]: rgbimg.longstoimage(rgb, width, height, depth, '@.rgb') os.unlink('@.rgb')