We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b60456 commit 5dcae3fCopy full SHA for 5dcae3f
Lib/test/test_multiprocessing_defaults.py
@@ -4,10 +4,13 @@
4
import multiprocessing
5
from multiprocessing.context import DefaultForkDeprecationWarning
6
import sys
7
-from test.support import threading_helper
+from test.support import import_helper, threading_helper
8
import unittest
9
import warnings
10
11
+# Skip tests if _multiprocessing wasn't built.
12
+import_helper.import_module('_multiprocessing')
13
+
14
15
def do_nothing():
16
pass
0 commit comments