MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

Functiontest_cancel_native_future_tasks_cancel_scope
()
tests/test_taskgroups.py:1378
Methodtest_cancel_portal_future
Regression test for #575.
tests/test_from_thread.py:783
Functiontest_cancel_propagation
()
tests/test_taskgroups.py:555
Functiontest_cancel_propagation_with_inner_spawn
()
tests/test_taskgroups.py:1289
Functiontest_cancel_reason
()
tests/test_taskgroups.py:2035
Functiontest_cancel_receive
()
tests/streams/test_memory.py:163
Functiontest_cancel_scope_cleared
()
tests/test_taskgroups.py:648
Functiontest_cancel_scope_in_another_task
()
tests/test_taskgroups.py:535
Functiontest_cancel_scope_in_asyncgen_fixture
(testdir: Pytester)
tests/test_pytest_plugin.py:233
Functiontest_cancel_scope_in_child_task
()
tests/test_taskgroups.py:1001
Functiontest_cancel_send
()
tests/streams/test_memory.py:177
Functiontest_cancel_shielded_checkpoint
(cancel: bool)
tests/test_lowlevel.py:42
Functiontest_cancel_shielded_scope
()
tests/test_taskgroups.py:800
Functiontest_cancel_shielding_start
Test that if the host task that has spawned a subtask via ``start()`` is cancelled, a shielded cancel scope in the child task will shield it
tests/test_taskgroups.py:2047
Functiontest_cancel_twice
Test that the same task can receive two cancellations.
tests/test_taskgroups.py:568
Functiontest_cancel_wait_on_thread
()
tests/test_to_thread.py:132
Functiontest_cancel_with_nested_task_groups
Regression test for #695.
tests/test_taskgroups.py:317
Functiontest_cancel_with_reason
()
tests/test_taskgroups.py:492
Functiontest_cancel_worker_thread
Test that when a task running a worker thread is cancelled, the cancellation is not acted on until the thread finishes.
tests/test_to_thread.py:97
Methodtest_cancelled_after_acquire
(self)
tests/test_synchronization.py:219
Methodtest_cancelled_after_acquire
(self)
tests/test_synchronization.py:678
Functiontest_cancelled_not_caught
()
tests/test_taskgroups.py:843
Functiontest_cancelled_parent
()
tests/test_taskgroups.py:1057
Functiontest_cancelled_raises_beyond_origin_shielded
()
tests/test_taskgroups.py:887
Functiontest_cancelled_raises_beyond_origin_unshielded
()
tests/test_taskgroups.py:868
Functiontest_cancelled_scope_based_checkpoint
Regression test closely related to #698.
tests/test_taskgroups.py:851
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:1474
Functiontest_cancelscope_exit_in_wrong_task
()
tests/test_taskgroups.py:1487
Functiontest_cancelscope_propagation
()
tests/test_from_thread.py:126
Functiontest_cancelscope_propagation_when_abandoned
()
tests/test_from_thread.py:138
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:1461
Methodtest_cannot_connect
(self, socket_path: Path)
tests/test_sockets.py:1489
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:816
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:742
Methodtest_checkpoints_after_first_result
(self)
tests/test_itertools.py:800
Methodtest_checkpoints_buffered_replay
(self)
tests/test_itertools.py:984
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:879
Methodtest_checkpoints_empty_iterable
(self)
tests/test_itertools.py:979
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:736
Methodtest_checkpoints_empty_result
(self)
tests/test_itertools.py:794
Methodtest_checkpoints_empty_result_non_cancelled
(self)
tests/test_itertools.py:797
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:652
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:671
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:843
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:929
Methodtest_checkpoints_empty_results
(self)
tests/test_itertools.py:1008
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:739
Methodtest_checkpoints_replay
(self)
tests/test_itertools.py:440
Methodtest_chmod
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:623
Functiontest_cleanup_after_native_cancel
Regression test for #832.
tests/test_taskgroups.py:830
Methodtest_cleanup_method
(self)
tests/test_tempfile.py:124
Methodtest_clock
Test that ``backend_options`` are passed to ``trio.run()``.
tests/test_eventloop.py:138
Functiontest_clone
()
tests/streams/test_memory.py:191
Functiontest_clone_closed
()
tests/streams/test_memory.py:206
Methodtest_close_during_receive
(self, server_addr: tuple[str, int])
tests/test_sockets.py:523
Methodtest_close_during_receive
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1460
Methodtest_close_during_receive
(self)
tests/test_sockets.py:1857
Methodtest_close_during_receive
(self)
tests/test_sockets.py:2036
Methodtest_close_during_receive
(self)
tests/test_sockets.py:2196
Methodtest_close_during_receive
( self, peer_socket_path_or_str: Path | str, peer_sock: socket.socket )
tests/test_sockets.py:2392
Functiontest_close_early
Regression test for #490.
tests/test_subprocesses.py:406
Methodtest_close_from_other_task
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:933
Functiontest_close_receive_after_send
()
tests/streams/test_memory.py:356
Functiontest_close_receive_while_sending
()
tests/streams/test_memory.py:229
Functiontest_close_send_while_receiving
()
tests/streams/test_memory.py:214
Functiontest_close_while_reading
()
tests/test_subprocesses.py:418
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:470
Methodtest_closed_state
(self)
tests/test_tempfile.py:97
Methodtest_comparison
(self)
tests/test_fileio.py:147
Methodtest_concurrent_access
(self)
tests/test_functools.py:205
Methodtest_concurrent_receive
(self, server_addr: tuple[str, int])
tests/test_sockets.py:510
Methodtest_concurrent_receive
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1445
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:1842
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:2021
Methodtest_concurrent_receive
(self)
tests/test_sockets.py:2183
Methodtest_concurrent_receive
( self, peer_socket_path: Path, peer_sock: socket.socket )
tests/test_sockets.py:2375
Methodtest_concurrent_send
(self, server_addr: tuple[str, int])
tests/test_sockets.py:495
Methodtest_concurrent_send
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1428
Functiontest_connect_tcp_getaddrinfo_context
See https://github.com/agronholm/anyio/issues/815
tests/test_sockets.py:2574
Methodtest_connect_tcp_with_local_port
( self, server_sock: socket.socket, server_addr: tuple[str, int], family: AnyI
tests/test_sockets.py:411
← previousnext →1,401–1,500 of 2,163, ranked by callers