Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import contextlib
import difflib
import gc
import multiprocessing
import os
import re
import textwrap

Expand All @@ -15,6 +17,9 @@
# Early diagnostic for failed imports
import pybind11_tests

if os.name != "nt":
multiprocessing.set_start_method("spawn")

_long_marker = re.compile(r"([0-9])L")
_hexadecimal = re.compile(r"0x[0-9a-fA-F]+")

Expand Down
2 changes: 1 addition & 1 deletion tests/test_gil_scoped.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _intentional_deadlock():


ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK = ALL_BASIC_TESTS + (_intentional_deadlock,)
SKIP_IF_DEADLOCK = True # See PR #4216
SKIP_IF_DEADLOCK = False # See PR #4216


def _run_in_process(target, *args, **kwargs):
Expand Down