diff options
author | Guido van Rossum <guido@python.org> | 2001-10-24 20:42:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-24 20:42:55 (GMT) |
commit | e2ae77b8b8a62e648bb1864a9b36ef3280984404 (patch) | |
tree | e03ad6f126a16529b2fb43671903e357bcb05835 /Lib/test/test_rgbimg.py | |
parent | c6ac8a78f668123ec5c2c3d5a824e7886e9a1c60 (diff) | |
download | cpython-e2ae77b8b8a62e648bb1864a9b36ef3280984404.zip cpython-e2ae77b8b8a62e648bb1864a9b36ef3280984404.tar.gz cpython-e2ae77b8b8a62e648bb1864a9b36ef3280984404.tar.bz2 |
SF patch #474590 -- RISC OS support
Diffstat (limited to 'Lib/test/test_rgbimg.py')
-rw-r--r-- | Lib/test/test_rgbimg.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_rgbimg.py b/Lib/test/test_rgbimg.py index f2622e4..b632cd0 100644 --- a/Lib/test/test_rgbimg.py +++ b/Lib/test/test_rgbimg.py @@ -25,9 +25,9 @@ def testimg(rgb_file, raw_file): os.unlink('@.rgb') table = [ - ('testrgb.uue', 'test.rgb'), - ('testimg.uue', 'test.rawimg'), - ('testimgr.uue', 'test.rawimg.rev'), + ('testrgb'+os.extsep+'uue', 'test'+os.extsep+'rgb'), + ('testimg'+os.extsep+'uue', 'test'+os.extsep+'rawimg'), + ('testimgr'+os.extsep+'uue', 'test'+os.extsep+'rawimg'+os.extsep+'rev'), ] for source, target in table: source = findfile(source) @@ -43,13 +43,13 @@ ttob = rgbimg.ttob(0) if ttob != 0: raise error, 'ttob should start out as zero' -testimg('test.rgb', 'test.rawimg') +testimg('test'+os.extsep+'rgb', 'test'+os.extsep+'rawimg') ttob = rgbimg.ttob(1) if ttob != 0: raise error, 'ttob should be zero' -testimg('test.rgb', 'test.rawimg.rev') +testimg('test'+os.extsep+'rgb', 'test'+os.extsep+'rawimg'+os.extsep+'rev') ttob = rgbimg.ttob(0) if ttob != 1: |