diff options
-rwxr-xr-x | Lib/test/test_binascii.py | 8 | ||||
-rwxr-xr-x | Lib/test/test_binhex.py | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index 395da48..aa156d9 100755 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -33,8 +33,14 @@ def test(): finish = f.readline() if start <> finish: - print 'Error: binhex failed' + print 'Error: binhex <> hexbin' elif verbose: print 'binhex == hexbin' + try: + import os + os.unlink(fname1) + os.unlink(fname2) + except: + pass test() diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 395da48..aa156d9 100755 --- a/Lib/test/test_binhex.py +++ b/Lib/test/test_binhex.py @@ -33,8 +33,14 @@ def test(): finish = f.readline() if start <> finish: - print 'Error: binhex failed' + print 'Error: binhex <> hexbin' elif verbose: print 'binhex == hexbin' + try: + import os + os.unlink(fname1) + os.unlink(fname2) + except: + pass test() |