summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mhlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_mhlib.py')
-rw-r--r--Lib/test/test_mhlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_mhlib.py b/Lib/test/test_mhlib.py
index 8dbe2c4..f1afa67 100644
--- a/Lib/test/test_mhlib.py
+++ b/Lib/test/test_mhlib.py
@@ -7,7 +7,7 @@
### mhlib. It should.
import unittest
-from test.test_support import run_unittest, TESTFN, SkipTest, import_module
+from test.test_support import run_unittest, TESTFN, import_module
import os, StringIO
import sys
mhlib = import_module('mhlib', deprecated=True)
@@ -21,8 +21,8 @@ if (sys.platform.startswith("win") or sys.platform=="riscos" or
# link counts, and that causes test_listfolders() here to get back
# an empty list from its call of listallfolders().
# The other tests here pass on Windows.
- raise SkipTest("skipped on %s -- " % sys.platform +
- "too many Unix assumptions")
+ raise unittest.SkipTest("skipped on %s -- " % sys.platform +
+ "too many Unix assumptions")
_mhroot = TESTFN+"_MH"
_mhpath = os.path.join(_mhroot, "MH")