diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-30 21:46:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 15:46:31 +0200 |
commit | 0c4f0f3b29d84063700217dcf90ad6860ed71c70 (patch) | |
tree | 22c7c745a13327858287f8ea010794ba51af7be9 /Lib/test/_test_multiprocessing.py | |
parent | 3ddc634cd5469550c0c2dc5a6051a70739995699 (diff) | |
download | cpython-0c4f0f3b29d84063700217dcf90ad6860ed71c70.tar.gz cpython-0c4f0f3b29d84063700217dcf90ad6860ed71c70.zip |
bpo-40275: Use new test.support helper submodules in tests (GH-21169)
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-rw-r--r-- | Lib/test/_test_multiprocessing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index 5f65d966d62..6b4679f82da 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -27,12 +27,13 @@ import test.support import test.support.script_helper from test import support from test.support import hashlib_helper +from test.support import import_helper from test.support import socket_helper from test.support import threading_helper # Skip tests if _multiprocessing wasn't built. -_multiprocessing = test.support.import_module('_multiprocessing') +_multiprocessing = import_helper.import_module('_multiprocessing') # Skip tests if sem_open implementation is broken. support.skip_if_broken_multiprocessing_synchronize() import threading |