diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index b60c7452f3..3d6d1825aa 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -791,6 +791,7 @@ def test_create_connection_local_addr(self): self.assertEqual(port, expected) tr.close() + @unittest.skipIf(sys.platform == "linux", "TODO: Flaky on CI") @socket_helper.skip_if_tcp_blackhole def test_create_connection_local_addr_skip_different_family(self): # See https://github.com/python/cpython/issues/86508 diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index c08eb7cf26..9dd596bbf2 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -628,6 +628,7 @@ def kill(): self.assertTrue(killed) test_utils.run_briefly(self.loop) + @unittest.skipIf(sys.platform == "win32", "TODO: RUSTPYTHON; Flaky on CI") def test_close_dont_kill_finished(self): async def kill_running():