diff options
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 3681c60d..0f91c97 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -23,8 +23,7 @@ import logging try: import multiprocessing.synchronize except ImportError as e: - from test.test_support import TestSkipped - raise TestSkipped(e) + raise unittest.SkipTest(e) import multiprocessing.dummy import multiprocessing.connection @@ -1814,7 +1813,7 @@ def test_main(run=None): lock = multiprocessing.RLock() except OSError: from test.support import TestSkipped - raise TestSkipped("OSError raises on RLock creation, see issue 3111!") + raise unittest.SkipTest("OSError raises on RLock creation, see issue 3111!") if run is None: from test.support import run_unittest as run |