Skip to content

Commit

Permalink
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (pytho…
Browse files Browse the repository at this point in the history
…nGH-30801)

(cherry picked from commit 1ded8ed)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
2 people authored and hello-adam committed Jun 2, 2022
1 parent 5647be0 commit f65180b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/test_asyncio/test_sendfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f65180b

Please sign in to comment.