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

This commit is contained in:
Nikita Sobolev 2022-01-23 01:52:26 +03:00 committed by GitHub
parent 9c8e490b8f
commit 1ded8ed8e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):