diff options
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: |