fix incorrect auto-translation of TestSkipped -> unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 21:10:30 +00:00
parent ad57d97596
commit bec087f29d
31 changed files with 75 additions and 75 deletions

View file

@ -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")