Skip to content

Commit 7c8ffec

Browse files
committed
Skip test that hangs nondeterministically on 3.11
1 parent 36ca865 commit 7c8ffec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/python/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ def skip(rel_id):
168168
"test_create_subprocess_fails_with_inactive_watcher"
169169
)
170170

171+
# This forks a child process and tries to run a new event loop there,
172+
# but Trio isn't fork-safe -- it hangs nondeterministically.
173+
skip("test_events.py::TestPyGetEventLoop::test_get_event_loop_new_process")
174+
skip("test_events.py::TestCGetEventLoop::test_get_event_loop_new_process")
175+
171176
if sys.version_info >= (3, 9):
172177
# This tries to create a new loop from within an existing one,
173178
# which we don't support.

0 commit comments

Comments
 (0)