mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-01 17:37:15 +00:00
tests: the condition was too look on xfail
This commit is contained in:
parent
11f756f5a9
commit
e3774b76ed
@ -55,7 +55,7 @@ def _python_to_cpp_to_python_from_threads(num_threads, parallel=False):
|
|||||||
|
|
||||||
|
|
||||||
# TODO: FIXME, sometimes returns -11 instead of 0
|
# TODO: FIXME, sometimes returns -11 instead of 0
|
||||||
@pytest.mark.xfail("env.PY > (3,8) and env.MACOS", strict=False)
|
@pytest.mark.xfail("env.PY >= (3,9) and env.MACOS", strict=False)
|
||||||
def test_python_to_cpp_to_python_from_thread():
|
def test_python_to_cpp_to_python_from_thread():
|
||||||
"""Makes sure there is no GIL deadlock when running in a thread.
|
"""Makes sure there is no GIL deadlock when running in a thread.
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ def test_python_to_cpp_to_python_from_thread():
|
|||||||
|
|
||||||
|
|
||||||
# TODO: FIXME
|
# TODO: FIXME
|
||||||
@pytest.mark.xfail("env.PY > (3,8) and env.MACOS", strict=False)
|
@pytest.mark.xfail("env.PY >= (3,9) and env.MACOS", strict=False)
|
||||||
def test_python_to_cpp_to_python_from_thread_multiple_parallel():
|
def test_python_to_cpp_to_python_from_thread_multiple_parallel():
|
||||||
"""Makes sure there is no GIL deadlock when running in a thread multiple times in parallel.
|
"""Makes sure there is no GIL deadlock when running in a thread multiple times in parallel.
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ def test_python_to_cpp_to_python_from_thread_multiple_parallel():
|
|||||||
|
|
||||||
|
|
||||||
# TODO: FIXME
|
# TODO: FIXME
|
||||||
@pytest.mark.xfail("env.PY > (3,8) and env.MACOS", strict=False)
|
@pytest.mark.xfail("env.PY >= (3,9) and env.MACOS", strict=False)
|
||||||
def test_python_to_cpp_to_python_from_thread_multiple_sequential():
|
def test_python_to_cpp_to_python_from_thread_multiple_sequential():
|
||||||
"""Makes sure there is no GIL deadlock when running in a thread multiple times sequentially.
|
"""Makes sure there is no GIL deadlock when running in a thread multiple times sequentially.
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ def test_python_to_cpp_to_python_from_thread_multiple_sequential():
|
|||||||
|
|
||||||
|
|
||||||
# TODO: FIXME
|
# TODO: FIXME
|
||||||
@pytest.mark.xfail("env.PY > (3,8) and env.MACOS", strict=False)
|
@pytest.mark.xfail("env.PY >= (3,9) and env.MACOS", strict=False)
|
||||||
def test_python_to_cpp_to_python_from_process():
|
def test_python_to_cpp_to_python_from_process():
|
||||||
"""Makes sure there is no GIL deadlock when using processes.
|
"""Makes sure there is no GIL deadlock when using processes.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user