@@ -140,6 +140,10 @@ def skip(rel_id):
140140 # hangs on 3.11+, fails without hanging on 3.8-3.10
141141 skip ("test_windows_events.py::ProactorLoopCtrlC::test_ctrl_c" )
142142
143+ if sys .platform == "darwin" :
144+ # Times out on GitHub Actions, unclear why
145+ skip ("test_events.py::KqueueEventLoopTests::test_create_connection" )
146+
143147 if sys .implementation .name == "pypy" :
144148 # This test depends on the C implementation of asyncio.Future, and
145149 # unlike most such tests it is not configured to be skipped if
@@ -199,12 +203,29 @@ def skip(rel_id):
199203 xfail (
200204 "test_futures2.py::PyFutureTests::test_task_exc_handler_correct_context"
201205 )
202- xfail (
203- "test_futures2.py::CFutureTests::test_task_exc_handler_correct_context"
204- )
206+ if sys .version_info < (3 , 13 ):
207+ xfail (
208+ "test_futures2.py::CFutureTests::test_task_exc_handler_correct_context"
209+ )
205210
206211 # This test assumes that get_event_loop_policy().get_event_loop() doesn't
207212 # automatically return the running loop
208213 skip (
209214 "test_subprocess.py::GenericWatcherTests::test_create_subprocess_with_pidfd"
210215 )
216+
217+ if sys .version_info >= (3 , 13 ):
218+ if sys .platform == "win32" :
219+ for which in ("read" , "write" , "read_write" ):
220+ # These use a facility of the ProactorEventLoop that
221+ # trio-asyncio doesn't support
222+ xfail (
223+ "test_subprocess.py::SubprocessProactorTests::"
224+ f"test_subprocess_{ which } _pipe_cancelled"
225+ )
226+ if sys .platform == "darwin" :
227+ # Unclear issue
228+ xfail (
229+ "test_tasks.py::RunCoroutineThreadsafeTests::"
230+ "test_run_coroutine_threadsafe_and_cancel"
231+ )
0 commit comments