mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21169)
This commit is contained in:
parent
3ddc634cd5
commit
0c4f0f3b29
14 changed files with 348 additions and 319 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue