Skip to content

Commit 842b738

Browse files
authored
gh-113692: skip a test if multiprocessing isn't available. (GH-113704)
1 parent f3d5d4a commit 842b738

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_logging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import tempfile
4444
from test.support.script_helper import assert_python_ok, assert_python_failure
4545
from test import support
46+
from test.support import import_helper
4647
from test.support import os_helper
4748
from test.support import socket_helper
4849
from test.support import threading_helper
@@ -3924,7 +3925,8 @@ def test_90195(self):
39243925

39253926
def test_111615(self):
39263927
# See gh-111615
3927-
import multiprocessing as mp
3928+
import_helper.import_module('_multiprocessing') # see gh-113692
3929+
mp = import_helper.import_module('multiprocessing')
39283930

39293931
config = {
39303932
'version': 1,

0 commit comments

Comments
 (0)