remove test_support.TestSkipped and just use unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 20:48:25 +00:00
parent 21f6aac633
commit 888a39b54c
44 changed files with 99 additions and 108 deletions

View file

@ -7,7 +7,7 @@
### mhlib. It should.
import unittest
from test.test_support import run_unittest, TESTFN, TestSkipped, import_module
from test.test_support import run_unittest, TESTFN, SkipTest, import_module
import os, StringIO
import sys
mhlib = import_module('mhlib', deprecated=True)
@ -21,7 +21,7 @@ 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 TestSkipped("skipped on %s -- " % sys.platform +
raise SkipTest("skipped on %s -- " % sys.platform +
"too many Unix assumptions")
_mhroot = TESTFN+"_MH"