From 62d45ed4e13826402918afe40396f72276816b51 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sat, 23 May 2026 19:52:40 +0300 Subject: [PATCH] Skip flaky tests --- 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 dcd963b3355..3acbc37f24e 100644 --- a/Lib/test/test_asyncio/test_sendfile.py +++ b/Lib/test/test_asyncio/test_sendfile.py @@ -573,6 +573,10 @@ class PollEventLoopTests(SendfileTestsBase, 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 @@ class SelectEventLoopTests(SendfileTestsBase, 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()