mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
[3.12] gh-113692: skip a test if multiprocessing isn't available. (GH-113704) (GH-113844)
(cherry picked from commit 842b738129
)
This commit is contained in:
parent
cd87737a1d
commit
cdd703d131
1 changed files with 3 additions and 1 deletions
|
@ -43,6 +43,7 @@ import sys
|
|||
import tempfile
|
||||
from test.support.script_helper import assert_python_ok, assert_python_failure
|
||||
from test import support
|
||||
from test.support import import_helper
|
||||
from test.support import os_helper
|
||||
from test.support import socket_helper
|
||||
from test.support import threading_helper
|
||||
|
@ -3894,7 +3895,8 @@ class ConfigDictTest(BaseTest):
|
|||
|
||||
def test_111615(self):
|
||||
# See gh-111615
|
||||
import multiprocessing as mp
|
||||
import_helper.import_module('_multiprocessing') # see gh-113692
|
||||
mp = import_helper.import_module('multiprocessing')
|
||||
|
||||
config = {
|
||||
'version': 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue