mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Whole lotta changes.
This commit is contained in:
parent
d69a84b01e
commit
228b8e88bc
52 changed files with 2276 additions and 434 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue