summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-22 16:58:16 -0800
committerGitHub <noreply@github.com>2022-01-23 01:58:16 +0100
commit486b4d3d8e1a5699a2854e310c58fe12b220b7a9 (patch)
tree39540e31f8cb4c0a4ec31a3c6b47af14ccb77e56 /Lib
parent83aef4d34022f293336f606dba8598cc7ac8f9f2 (diff)
downloadcpython-git-486b4d3d8e1a5699a2854e310c58fe12b220b7a9.tar.gz
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) (GH-30812)
(cherry picked from commit 1ded8ed8e817b8f9dae1a0ef92d97983afbc844e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_sendfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py
index 57b56bba34..c8bfa892c7 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):