From 5b9ba60a048be7ae034f3d94882d3e3024bf6717 Mon Sep 17 00:00:00 2001 From: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sun, 24 May 2026 07:48:00 +0300 Subject: [PATCH] Skip flaky tests (#7961) --- Lib/test/test_asyncio/test_sendfile.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py index dcd963b33..3acbc37f2 100644 --- a/Lib/test/test_asyncio/test_sendfile.py +++ b/Lib/test/test_asyncio/test_sendfile.py @@ -573,6 +573,10 @@ else: def create_event_loop(self): return asyncio.SelectorEventLoop(selectors.PollSelector()) + @unittest.skipIf(sys.platform != "win32", "TODO: RUSTPYTHON; Flaky on CI") + def test_sendfile_ssl_pre_and_post_data(self): + return super().test_sendfile_ssl_pre_and_post_data() + # Should always exist. class SelectEventLoopTests(SendfileTestsBase, test_utils.TestCase): @@ -580,6 +584,10 @@ else: def create_event_loop(self): return asyncio.SelectorEventLoop(selectors.SelectSelector()) + @unittest.skipIf(sys.platform != "win32", "TODO: RUSTPYTHON; Flaky on CI") + def test_sendfile_ssl_pre_and_post_data(self): + return super().test_sendfile_ssl_pre_and_post_data() + if __name__ == '__main__': unittest.main()