MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Methodtest_cancelled_send_does_not_buffer_the_next_datagram
( self, send: Callable[[bytes], Coroutine[Any, Any, None]], peer: socket.socket )
tests/test_sockets.py:2804
Methodtest_cancelled_send_does_not_send_the_next_one
Handing data to a paused transport merely appends it to the write buffer. If a ``send()`` was cancelled after the data was written to
tests/test_sockets.py:277
Functiontest_cancelled_wait
()
tests/test_futures.py:77
Functiontest_cancelled_waiter_allows_other
()
tests/test_futures.py:151
Functiontest_cancelling_already_set_exception
()
tests/test_futures.py:117
Functiontest_cancelling_already_set_return_value
()
tests/test_futures.py:110
Functiontest_cancelling_with_result
()
tests/test_futures.py:125
Functiontest_cancelscope_exit_before_enter
Test that a RuntimeError is raised if one tries to exit a cancel scope before entering.
tests/test_taskgroups.py:1569
Functiontest_cancelscope_exit_in_wrong_task
()
tests/test_taskgroups.py:1582
Functiontest_cancelscope_propagation
()
tests/test_from_thread.py:133
Functiontest_cancelscope_propagation_when_abandoned
()
tests/test_from_thread.py:145
Functiontest_cancelscope_wrong_exit_order
Test that a RuntimeError is raised if the task tries to exit cancel scopes in the wrong order.
tests/test_taskgroups.py:1556
Methodtest_cannot_connect
(self, socket_path: Path)
tests/test_sockets.py:1859
Functiontest_checkpoint
(cancel: bool)
tests/test_lowlevel.py:66
Functiontest_checkpoint_if_cancelled
(cancel: bool)
tests/test_lowlevel.py:17
Methodtest_checkpoints
(self)
tests/test_itertools.py:398
Methodtest_checkpoints
(self)
tests/test_itertools.py:827
Methodtest_checkpoints_after_first_result
(self)
tests/test_itertools.py:300
Methodtest_checkpoints_after_first_result
(self)
tests/test_itertools.py:358
Methodtest_checkpoints_after_first_result
(self)
tests/test_itertools.py:748
Methodtest_checkpoints_after_first_result
(self)
tests/test_itertools.py:811
Methodtest_checkpoints_buffered_replay
(self)
tests/test_itertools.py:995
Methodtest_checkpoints_empty_async_iterable
(self)
tests/test_functools.py:510
Methodtest_checkpoints_empty_inputs
(self)
tests/test_itertools.py:137
Methodtest_checkpoints_empty_inputs
(self)
tests/test_itertools.py:188
Methodtest_checkpoints_empty_inputs
(self)
tests/test_itertools.py:251
Methodtest_checkpoints_empty_inputs
(self)
tests/test_itertools.py:435
Methodtest_checkpoints_empty_inputs
(self)
tests/test_itertools.py:564
Methodtest_checkpoints_empty_iterable
(self)
tests/test_functools.py:500
Methodtest_checkpoints_empty_iterable
(self)
tests/test_itertools.py:890
Methodtest_checkpoints_empty_iterable
(self)
tests/test_itertools.py:990
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:294
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:355
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:384
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:742
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:805
Methodtest_checkpoints_empty_result_non_cancelled
(self)
tests/test_itertools.py:808
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:347
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:479
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:525
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:658
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:677
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:854
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:940
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:1019
Methodtest_checkpoints_initial_value
(self)
tests/test_itertools.py:142
Methodtest_checkpoints_r_greater_than_pool
(self)
tests/test_itertools.py:297
Methodtest_checkpoints_r_greater_than_pool
(self)
tests/test_itertools.py:745
Methodtest_checkpoints_replay
(self)
tests/test_itertools.py:440
Methodtest_chmod
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:682
Functiontest_cleanup_after_native_cancel
Regression test for #832.
tests/test_taskgroups.py:953
Methodtest_cleanup_method
(self)
tests/test_tempfile.py:208
Methodtest_cleanup_method_with_cancellation
Test that the ``cleanup()`` method removes the directory even if the host task is already cancelled when it is called, and that the p
tests/test_tempfile.py:247
Methodtest_clock
Test that ``backend_options`` are passed to ``trio.run()``.
tests/test_eventloop.py:154
Functiontest_clone
()
tests/streams/test_memory.py:196
Functiontest_clone_closed
()
tests/streams/test_memory.py:207
Methodtest_close_after_cancelled_io
( self, socket_path: Path, operation: Literal["receive", "send"] )
tests/test_sockets.py:1776
Methodtest_close_during_accept
(self, socket_path: Path)
tests/test_sockets.py:2058
Methodtest_close_during_receive
(self, server_addr: tuple[str, int])
tests/test_sockets.py:624
Methodtest_close_during_receive
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1745
Methodtest_close_during_receive
(self)
tests/test_sockets.py:2294
Methodtest_close_during_receive
(self)
tests/test_sockets.py:2568
Methodtest_close_during_receive
(self)
tests/test_sockets.py:2956
Methodtest_close_during_receive
( self, peer_socket_path_or_str: Path | str, peer_sock: socket.socket )
tests/test_sockets.py:3191
Methodtest_close_during_send
(self, server_addr: tuple[str, int])
tests/test_sockets.py:635
Methodtest_close_during_send
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1758
Methodtest_close_during_send
( self, udp: UDPSocket | ConnectedUDPSocket, send: Callable[[bytes], Coroutine[Any, An
tests/test_sockets.py:2825
Functiontest_close_early
Regression test for #490.
tests/test_subprocesses.py:412
Methodtest_close_from_other_task
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:1130
Methodtest_close_on_cancel
(self, file_path: Path)
tests/streams/test_file.py:51
Methodtest_close_on_cancel
(self, file_path: Path)
tests/streams/test_file.py:121
Functiontest_close_receive_after_item_sent
()
tests/streams/test_memory.py:264
Functiontest_close_receive_after_send
()
tests/streams/test_memory.py:385
Functiontest_close_receive_clone_while_receiving
()
tests/streams/test_memory.py:140
Functiontest_close_receive_while_receiving
()
tests/streams/test_memory.py:234
Functiontest_close_receive_while_sending
()
tests/streams/test_memory.py:243
Functiontest_close_send_after_item_received
()
tests/streams/test_memory.py:253
Functiontest_close_send_clone_while_sending
()
tests/streams/test_memory.py:155
Functiontest_close_send_while_receiving
()
tests/streams/test_memory.py:215
Functiontest_close_send_while_sending
()
tests/streams/test_memory.py:224
Functiontest_close_while_reading
()
tests/test_subprocesses.py:424
Functiontest_close_with_stdout_blocked_subprocess
Regression test for #1166. Test that closing a process unblocks a subprocess blocked on writing to stdout (because the pipe buffer is fu
tests/test_subprocesses.py:476
Methodtest_closed_state
(self)
tests/test_tempfile.py:142
Methodtest_comparison
(self)
tests/test_fileio.py:162
Methodtest_concurrent_access
(self)
tests/test_functools.py:205
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, server_addr: tuple[str, int] )
tests/test_sockets.py:694
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1808
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, )
tests/test_sockets.py:2309
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, family: AnyIPAddressFamily )
tests/test_sockets.py:2583
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, )
tests/test_sockets.py:2967
Methodtest_concurrent_aclose_forcefully_closes_socket
( self, peer_socket_path_or_str: Path | str, peer_sock: socket.socket )
tests/test_sockets.py:3206
Methodtest_concurrent_receive
(self, server_addr: tuple[str, int])
tests/test_sockets.py:611
Methodtest_concurrent_receive
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1730
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:2277
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:2551
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:2943
Methodtest_concurrent_receive
( self, peer_socket_path: Path, peer_sock: socket.socket )
tests/test_sockets.py:3174
Methodtest_concurrent_send
(self, server_addr: tuple[str, int])
tests/test_sockets.py:596
Methodtest_concurrent_send
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1713
Methodtest_connect_tcp_closes_winner_on_outer_cancellation
A connected stream must be closed if the enclosing cancel scope is cancelled before the connection attempt task group exits.
tests/test_sockets.py:493
← previousnext →1,701–1,800 of 2,553, ranked by callers