gh-113692: skip a test if multiprocessing isn't available. (GH-113704)

This commit is contained in:
Vinay Sajip 2024-01-09 07:47:42 +00:00 committed by GitHub
parent f3d5d4aa8f
commit 842b738129
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
@ -3924,7 +3925,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,