Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_sendfile.py
  • Loading branch information
sobolevn authored Jan 22, 2022
commit 688b13abad534fa9590ca322a4d10b50e4b4a3fd
3 changes: 2 additions & 1 deletion Lib/test/test_asyncio/test_sendfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ def test_sendfile_ssl_close_peer_after_receiving(self):
# themselves).
@unittest.skipIf(sys.platform.startswith('sunos'),
"Doesn't work on Solaris")
@unittest.skip("It is flaky and needs to be fixed") # TODO: bpo-41682
@unittest.skipIf(sys.platform == "win32",
"It is flaky on win and needs to be fixed") # TODO: bpo-41682
Comment thread
sobolevn marked this conversation as resolved.
Outdated
Comment thread
sobolevn marked this conversation as resolved.
Outdated
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