[Python-checkins] bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)

miss-islington webhook-mailer at python.org
Sat Jan 22 19:20:53 EST 2022


https://github.com/python/cpython/commit/ba932d90244252f6d4073263f25989507a183f79
commit: ba932d90244252f6d4073263f25989507a183f79
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-01-22T16:20:49-08:00
summary:

bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)

(cherry picked from commit 1ded8ed8e817b8f9dae1a0ef92d97983afbc844e)

Co-authored-by: Nikita Sobolev <mail at sobolevn.me>

files:
M Lib/test/test_asyncio/test_sendfile.py

diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py
index 28f8de35edd96..0ba966cb5ccf4 100644
--- a/Lib/test/test_asyncio/test_sendfile.py
+++ b/Lib/test/test_asyncio/test_sendfile.py
@@ -451,6 +451,8 @@ def test_sendfile_ssl_close_peer_after_receiving(self):
     # 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):



More information about the Python-checkins mailing list