Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
e3774b76
Commit
e3774b76
authored
Sep 16, 2020
by
Henry Fredrick Schreiner
Committed by
Henry Schreiner
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: the condition was too look on xfail
parent
11f756f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/test_gil_scoped.py
+4
-4
No files found.
tests/test_gil_scoped.py
View file @
e3774b76
...
@@ -55,7 +55,7 @@ def _python_to_cpp_to_python_from_threads(num_threads, parallel=False):
...
@@ -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():
...
@@ -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():
...
@@ -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():
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment