summaryrefslogtreecommitdiff
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r--Lib/test/test_multiprocessing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 33debfb3ad..0ec6a902e0 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -23,8 +23,8 @@ import logging
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 @@ def test_main(run=None):
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