mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
remove test_support.TestSkipped and just use unittest.SkipTest
This commit is contained in:
parent
21f6aac633
commit
888a39b54c
44 changed files with 99 additions and 108 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue