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.
multiprocessing
start_method
"forkserver"
1 parent 4894922 commit 0c38251Copy full SHA for 0c38251
tests/conftest.py
@@ -7,6 +7,8 @@
7
import contextlib
8
import difflib
9
import gc
10
+import multiprocessing
11
+import os
12
import re
13
import textwrap
14
@@ -15,6 +17,9 @@
15
17
# Early diagnostic for failed imports
16
18
import pybind11_tests
19
20
+if os.name != "nt":
21
+ multiprocessing.set_start_method("forkserver")
22
+
23
_long_marker = re.compile(r"([0-9])L")
24
_hexadecimal = re.compile(r"0x[0-9a-fA-F]+")
25
tests/test_gil_scoped.py
@@ -144,7 +144,7 @@ def _intentional_deadlock():
144
145
146
ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK = ALL_BASIC_TESTS + (_intentional_deadlock,)
147
-SKIP_IF_DEADLOCK = True # See PR #4216
+SKIP_IF_DEADLOCK = False # See PR #4216
148
149
150
def _run_in_process(target, *args, **kwargs):
0 commit comments