diff options
author | Roger E. Masse <rmasse@newcnri.cnri.reston.va.us> | 1997-01-16 18:53:01 (GMT) |
---|---|---|
committer | Roger E. Masse <rmasse@newcnri.cnri.reston.va.us> | 1997-01-16 18:53:01 (GMT) |
commit | 3b039faf19311484323b78dc46acfc986218fb7d (patch) | |
tree | 2304d228a7a1488f8ae5035c584db0415ed34710 /Lib/test | |
parent | d0bc9cb869fad4b9712d8e212888300dcfa37ae3 (diff) | |
download | cpython-3b039faf19311484323b78dc46acfc986218fb7d.zip cpython-3b039faf19311484323b78dc46acfc986218fb7d.tar.gz cpython-3b039faf19311484323b78dc46acfc986218fb7d.tar.bz2 |
Minor output message change
Diffstat (limited to 'Lib/test')
-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() |