summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binhex.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_binhex.py')
-rwxr-xr-xLib/test/test_binhex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py
index 534fa73..d7f6016 100755
--- a/Lib/test/test_binhex.py
+++ b/Lib/test/test_binhex.py
@@ -6,7 +6,7 @@
"""
import binhex
import tempfile
-from test_support import verbose
+from test_support import verbose, TestSkipped
def test():
@@ -15,7 +15,7 @@ def test():
fname2 = tempfile.mktemp()
f = open(fname1, 'w')
except:
- raise ImportError, "Cannot test binhex without a temp file"
+ raise TestSkipped, "Cannot test binhex without a temp file"
start = 'Jack is my hero'
f.write(start)