]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)
authorNikita Sobolev <mail@sobolevn.me>
Sat, 22 Jan 2022 22:52:26 +0000 (01:52 +0300)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 22:52:26 +0000 (23:52 +0100)
Lib/test/test_asyncio/test_sendfile.py

index 57b56bba34100b7d10c3716ec7903f80d098294b..c8bfa892c73fc60a9d338b456c27478018665dc1 100644 (file)
@@ -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):