]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 Jan 2022 00:20:49 +0000 (16:20 -0800)
committerGitHub <noreply@github.com>
Sun, 23 Jan 2022 00:20:49 +0000 (16:20 -0800)
(cherry picked from commit 1ded8ed8e817b8f9dae1a0ef92d97983afbc844e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_asyncio/test_sendfile.py

index 28f8de35edd96d0ca790f71c0ed67e8d7691d31e..0ba966cb5ccf486a6222208849f5bebbcdb887d9 100644 (file)
@@ -451,6 +451,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):