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 1be1885 commit c3db72eCopy full SHA for c3db72e
tests/test_gil_scoped.py
@@ -1,6 +1,9 @@
1
import multiprocessing
2
import threading
3
4
+import pytest
5
+
6
+import env
7
from pybind11_tests import gil_scoped as m
8
9
@@ -103,7 +106,10 @@ def test_python_to_cpp_to_python_from_process():
103
106
104
107
This test is for completion, but it was never an issue.
105
108
"""
- assert _run_in_process(_python_to_cpp_to_python) == 0
109
+ exitcode = _run_in_process(_python_to_cpp_to_python)
110
+ if exitcode is None and env.PYPY and env.WIN:
111
+ pytest.skip("Ignoring unexpected exitcode None (PYPY WIN)")
112
+ assert exitcode == 0
113
114
115
def test_cross_module_gil_released():
0 commit comments