MCPcopy Index your code
hub / github.com/RustPython/RustPython / wait_closed

Method wait_closed

Lib/test/test_asyncio/test_ssl.py:190–196  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

188 return asyncio.DefaultEventLoopPolicy()
189
190 async def wait_closed(self, obj):
191 if not isinstance(obj, asyncio.StreamWriter):
192 return
193 try:
194 await obj.wait_closed()
195 except (BrokenPipeError, ConnectionError):
196 pass
197
198 @support.bigmemtest(size=25, memuse=90*2**20, dry_run=False)
199 def test_create_server_ssl_1(self, size):

Callers 15

clientMethod · 0.95
client_sockMethod · 0.95
asyncTearDownMethod · 0.45
test_send_whole_fileMethod · 0.45
test_offset_overflowMethod · 0.45
test_headersMethod · 0.45
test_trailersMethod · 0.45
handle_clientMethod · 0.45
stopMethod · 0.45
clientMethod · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected