Skip to content

Commit ba932d9

Browse files
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801)
(cherry picked from commit 1ded8ed) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent b408880 commit ba932d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_asyncio/test_sendfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,8 @@ def test_sendfile_ssl_close_peer_after_receiving(self):
451451
# themselves).
452452
@unittest.skipIf(sys.platform.startswith('sunos'),
453453
"Doesn't work on Solaris")
454+
@unittest.skipIf(sys.platform == "win32",
455+
"It is flaky on Windows and needs to be fixed") # TODO: bpo-41682
454456
def test_sendfile_close_peer_in_the_middle_of_receiving(self):
455457
srv_proto, cli_proto = self.prepare_sendfile(close_after=1024)
456458
with self.assertRaises(ConnectionError):

0 commit comments

Comments
 (0)