From 6ab7ae7674c889e2350c4266ab497722c7d898c1 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 23 Jan 2022 01:52:26 +0300 Subject: [PATCH] bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) (cherry picked from commit 1ded8ed8e817b8f9dae1a0ef92d97983afbc844e) Co-authored-by: Nikita Sobolev --- Lib/test/test_asyncio/test_sendfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py index 28f8de35edd96d..0ba966cb5ccf48 100644 --- a/Lib/test/test_asyncio/test_sendfile.py +++ b/Lib/test/test_asyncio/test_sendfile.py @@ -451,6 +451,8 @@ def test_sendfile_ssl_close_peer_after_receiving(self): # themselves). @unittest.skipIf(sys.platform.startswith('sunos'), "Doesn't work on Solaris") + @unittest.skipIf(sys.platform == "win32", + "It is flaky on Windows and needs to be fixed") # TODO: bpo-41682 def test_sendfile_close_peer_in_the_middle_of_receiving(self): srv_proto, cli_proto = self.prepare_sendfile(close_after=1024) with self.assertRaises(ConnectionError):