diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 21:10:30 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 21:10:30 (GMT) |
| commit | bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1 (patch) | |
| tree | b7e37c8e82279a3a58d768ec4a79fd51488521f7 /Lib/test/test_mhlib.py | |
| parent | ad57d97596bb9466e6fce0c3dfcf436fd5c36ff9 (diff) | |
| download | cpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.zip cpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.gz cpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.bz2 | |
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
Diffstat (limited to 'Lib/test/test_mhlib.py')
| -rw-r--r-- | Lib/test/test_mhlib.py | 6 |
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") |
