remove test_support.TestSkipped and just use unittest.SkipTest
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 33debfb..0ec6a90 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -23,8 +23,8 @@
try:
import multiprocessing.synchronize
except ImportError, e:
- from test.test_support import TestSkipped
- raise TestSkipped(e)
+ from test.test_support import SkipTest
+ raise SkipTest(e)
import multiprocessing.dummy
import multiprocessing.connection
@@ -1812,8 +1812,8 @@
try:
lock = multiprocessing.RLock()
except OSError:
- from test.test_support import TestSkipped
- raise TestSkipped("OSError raises on RLock creation, see issue 3111!")
+ from test.test_support import SkipTest
+ raise SkipTest("OSError raises on RLock creation, see issue 3111!")
if run is None:
from test.test_support import run_unittest as run