diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 (GMT) |
commit | 888a39b54c4f47ee25d53b157e2c50402627cd0b (patch) | |
tree | 67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/test_mhlib.py | |
parent | 21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff) | |
download | cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.zip cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.bz2 |
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/test_mhlib.py')
-rw-r--r-- | Lib/test/test_mhlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_mhlib.py b/Lib/test/test_mhlib.py index 04571ea..8dbe2c4 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, 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" |