From 3b039faf19311484323b78dc46acfc986218fb7d Mon Sep 17 00:00:00 2001 From: "Roger E. Masse" Date: Thu, 16 Jan 1997 18:53:01 +0000 Subject: Minor output message change --- Lib/test/test_binascii.py | 8 +++++++- 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() -- cgit v0.12