[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:
Miss Islington (bot) 2024-01-09 09:13:41 +01:00 committed by GitHub
parent cd87737a1d
commit cdd703d131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,