Home
last modified time | relevance | path

Searched refs:send_all_hook (Results 1 – 3 of 3) sorted by relevance

/dports/net/py-trio/trio-0.19.0/trio/testing/
H A D_memory_streams.py99 send_all_hook=None, argument
107 self.send_all_hook = send_all_hook
122 if self.send_all_hook is not None:
123 await self.send_all_hook()
329 send_stream.send_all_hook = async_pump_from_send_stream_to_recv_stream
/dports/net/py-trio/trio-0.19.0/trio/tests/
H A Dtest_testing.py374 assert mss.send_all_hook is None
380 async def send_all_hook(): function
392 send_all_hook, wait_send_all_might_not_block_hook, close_hook
395 assert mss2.send_all_hook is send_all_hook
519 assert s.send_all_hook is not None
550 old = s.send_all_hook
551 s.send_all_hook = None
568 s.send_all_hook = old
H A Dtest_ssl.py852 send_all_hook = client_transport.send_stream.send_all_hook
853 client_transport.send_stream.send_all_hook = None
866 client_transport.send_stream.send_all_hook = send_all_hook
867 await client_transport.send_stream.send_all_hook()
961 client.transport_stream.send_stream.send_all_hook = bad_hook
1133 client.transport_stream.send_stream.send_all_hook = bad_hook