From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 23 Jan 2022 00:58:16 +0000 (-0800) Subject: bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) (GH-30812) X-Git-Tag: v3.10.3~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=486b4d3d8e1a5699a2854e310c58fe12b220b7a9;p=thirdparty%2FPython%2Fcpython.git bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) (GH-30812) (cherry picked from commit 1ded8ed8e817b8f9dae1a0ef92d97983afbc844e) Co-authored-by: Nikita Sobolev Co-authored-by: Nikita Sobolev --- diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py index 57b56bba3410..c8bfa892c73f 100644 --- a/Lib/test/test_asyncio/test_sendfile.py +++ b/Lib/test/test_asyncio/test_sendfile.py @@ -456,6 +456,8 @@ class SendfileMixin(SendfileBase): # 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):