summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/test/test_binascii.py8
-rwxr-xr-xLib/test/test_binhex.py8
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()