Skip to content

Commit f65180b

Browse files
miss-islingtonsobolevn
authored andcommitted
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (pythonGH-30801)
(cherry picked from commit 1ded8ed) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 5647be0 commit f65180b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)