aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-23 01:52:26 +0300
committerGitHub <noreply@github.com>2022-01-22 23:52:26 +0100
commit1ded8ed8e817b8f9dae1a0ef92d97983afbc844e (patch)
tree10adadc68b1f95c986bb69e8e3bbd1c8cbe3deee
parent9c8e490b8f9e40a6fe9815be58bacaecab5369ee (diff)
downloadcpython-1ded8ed8e817b8f9dae1a0ef92d97983afbc844e.tar.gz
cpython-1ded8ed8e817b8f9dae1a0ef92d97983afbc844e.zip
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)
-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 57b56bba341..c8bfa892c73 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):