Whole lotta changes.

This commit is contained in:
Guido van Rossum 1997-04-02 06:13:34 +00:00
parent d69a84b01e
commit 228b8e88bc
52 changed files with 2276 additions and 434 deletions

View file

@ -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')