MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Methodtest_basic_cases
(self)
tests/test_itertools.py:265
Methodtest_basic_cases
(self)
tests/test_itertools.py:307
Methodtest_basic_cases
(self)
tests/test_itertools.py:365
Methodtest_basic_cases
(self)
tests/test_itertools.py:450
Methodtest_basic_cases
(self)
tests/test_itertools.py:496
Methodtest_basic_cases
(self)
tests/test_itertools.py:542
Methodtest_basic_cases
(self)
tests/test_itertools.py:664
Methodtest_basic_cases
(self)
tests/test_itertools.py:688
Methodtest_basic_cases
(self)
tests/test_itertools.py:769
Methodtest_basic_cases
(self)
tests/test_itertools.py:860
Methodtest_basic_cases
(self)
tests/test_itertools.py:898
Methodtest_basic_cases
(self)
tests/test_itertools.py:1002
Methodtest_basic_slices
(self)
tests/test_itertools.py:571
Functiontest_bidirectional_stream
()
tests/streams/test_text.py:108
Methodtest_bind_failure_closes_socket
( self, family: AnyIPAddressFamily, monkeypatch: MonkeyPatch )
tests/test_sockets.py:2141
Methodtest_bind_link_local
(self)
tests/test_sockets.py:1228
Methodtest_bind_twice
Test that the previous socket is removed before binding to the path.
tests/test_sockets.py:2028
Methodtest_borrow
(self)
tests/test_synchronization.py:775
Methodtest_borrow_twice
(self)
tests/test_synchronization.py:802
Functiontest_buffered_connectable
()
tests/streams/test_buffered.py:132
Functiontest_buffered_stream
()
tests/streams/test_buffered.py:113
Functiontest_buffered_stream_receive_invalid_max_bytes
(max_bytes: int)
tests/streams/test_buffered.py:160
Functiontest_build_lazy_map_without_module_file
Test the eager fallback when a module has no __file__ attribute.
tests/test_lazyimport.py:136
Methodtest_bytes
(self)
tests/test_fileio.py:156
Methodtest_cache_clear
(self)
tests/test_functools.py:111
Methodtest_cache_parameters
(self)
tests/test_functools.py:70
Methodtest_cache_same_function_twice
(self)
tests/test_functools.py:236
Methodtest_cached_class_method
(self)
tests/test_functools.py:317
Methodtest_cached_instance_method
(self)
tests/test_functools.py:330
Methodtest_cached_static_method
(self)
tests/test_functools.py:304
Methodtest_caching
(self, typed: bool, expected_entries: int)
tests/test_functools.py:152
Methodtest_call_anext
(self)
tests/test_from_thread.py:607
Methodtest_call_async_cancellation
(self, target_backend: str)
tests/test_from_thread.py:450
Methodtest_call_async_cancellation_cleanup
( self, target_backend: str, abandon_on_cancel: bool, cleanup_raises: bool )
tests/test_from_thread.py:480
Methodtest_call_async_cancellation_does_not_block
( self, target_backend: str )
tests/test_from_thread.py:540
Methodtest_call_async_context_variable
(self, target_backend: str)
tests/test_from_thread.py:434
Methodtest_call_async_corofunc
(self, target_backend: str)
tests/test_from_thread.py:405
Methodtest_call_async_exception
(self)
tests/test_from_thread.py:421
Methodtest_call_corofunc
(self)
tests/test_from_thread.py:399
Methodtest_call_iterables
(self)
tests/test_itertools.py:195
Methodtest_call_mixed_iterables
(self)
tests/test_itertools.py:201
Methodtest_call_non_corofunc
(self)
tests/test_from_thread.py:600
Methodtest_call_portal_from_event_loop_thread
(self)
tests/test_from_thread.py:673
Methodtest_call_stopped_portal
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:712
Methodtest_call_superclass_method
(self)
tests/test_contextmanagers.py:124
Methodtest_call_superclass_method
(self)
tests/test_contextmanagers.py:228
Functiontest_cancel
()
tests/test_taskgroups.py:533
Methodtest_cancel
Test that the task function gets to run until the first checkpoint when it's cancelled right after creation.
tests/test_taskgroups.py:2430
Methodtest_cancel_after_release
Test that a native asyncio cancellation will not cause a lock ownership to get lost between a release() and the resumption of acquire
tests/test_synchronization.py:188
Methodtest_cancel_after_release
Test that a native asyncio cancellation will not cause a semaphore ownership to get lost between a release() and the resumption of ac
tests/test_synchronization.py:703
Functiontest_cancel_before
Test that starting to_process.run_sync() in a cancelled scope does not cause a worker process to be reserved.
tests/test_to_process.py:85
Functiontest_cancel_before_entering_scope
Test that CancelScope.cancel() is honored even if called before entering the scope.
tests/test_taskgroups.py:667
Functiontest_cancel_before_entering_task_group
()
tests/test_taskgroups.py:1906
Functiontest_cancel_cascade
()
tests/test_taskgroups.py:1167
Functiontest_cancel_child_task_when_host_is_shielded
()
tests/test_taskgroups.py:1925
Functiontest_cancel_completed_task
()
tests/test_taskgroups.py:1513
Methodtest_cancel_counter_nested_scopes
(self)
tests/test_taskgroups.py:1801
Functiontest_cancel_during
Test that cancelling an operation on the worker process causes the process to be killed.
tests/test_to_process.py:99
Methodtest_cancel_during_acquire
(self, release_first: bool)
tests/test_synchronization.py:126
Methodtest_cancel_during_acquire
(self, release_first: bool)
tests/test_synchronization.py:619
Methodtest_cancel_during_acquire_on_behalf_of
Regression test: when acquire_on_behalf_of() acquires the limiter without having to wait and is then cancelled during its can
tests/test_synchronization.py:1062
Methodtest_cancel_during_completion
( self, monkeypatch: pytest.MonkeyPatch, raises: bool )
tests/test_from_thread.py:787
Functiontest_cancel_during_receive
Test that cancelling a pending receive() operation does not cause an item in the stream to be lost.
tests/streams/test_memory.py:334
Functiontest_cancel_during_receive_buffered
Test that sending an item to a memory object stream when the receiver that is next in line has been cancelled will not result in the item bei
tests/streams/test_memory.py:360
Functiontest_cancel_exiting_task_group
Test that if a task group is waiting for subtasks to finish and it receives a cancellation, the subtasks are also cancelled and the waiting c
tests/test_taskgroups.py:640
Functiontest_cancel_from_shielded_scope
()
tests/test_taskgroups.py:904
Functiontest_cancel_generator_based_task
()
tests/test_taskgroups.py:1445
Functiontest_cancel_host_asyncgen
()
tests/test_taskgroups.py:1053
Methodtest_cancel_message_replaced
(self)
tests/test_taskgroups.py:1784
Functiontest_cancel_native_future_tasks
()
tests/test_taskgroups.py:1490
Functiontest_cancel_native_future_tasks_cancel_scope
()
tests/test_taskgroups.py:1501
Methodtest_cancel_portal_future
Regression test for #575.
tests/test_from_thread.py:1057
Functiontest_cancel_propagation
()
tests/test_taskgroups.py:613
Functiontest_cancel_propagation_with_inner_spawn
()
tests/test_taskgroups.py:1412
Functiontest_cancel_reason
()
tests/test_taskgroups.py:2247
Functiontest_cancel_receive
()
tests/streams/test_memory.py:172
Functiontest_cancel_scope_cleared
()
tests/test_taskgroups.py:706
Functiontest_cancel_scope_in_another_task
()
tests/test_taskgroups.py:593
Functiontest_cancel_scope_in_asyncgen_fixture
(testdir: Pytester)
tests/test_pytest_plugin.py:236
Functiontest_cancel_scope_in_child_task
()
tests/test_taskgroups.py:1124
Functiontest_cancel_send
()
tests/streams/test_memory.py:184
Functiontest_cancel_shielded_checkpoint
(cancel: bool)
tests/test_lowlevel.py:42
Functiontest_cancel_shielded_scope
()
tests/test_taskgroups.py:923
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:2259
Functiontest_cancel_twice
Test that the same task can receive two cancellations.
tests/test_taskgroups.py:626
Functiontest_cancel_wait_on_thread
()
tests/test_to_thread.py:198
Functiontest_cancel_with_nested_task_groups
Regression test for #695.
tests/test_taskgroups.py:373
Functiontest_cancel_with_reason
()
tests/test_taskgroups.py:550
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:103
Methodtest_cancellation_during_creation
(self)
tests/test_tempfile.py:174
Methodtest_cancelled_after_acquire
(self)
tests/test_synchronization.py:219
Methodtest_cancelled_after_acquire
(self)
tests/test_synchronization.py:729
Methodtest_cancelled_during_rollover
(self)
tests/test_tempfile.py:65
Functiontest_cancelled_not_caught
()
tests/test_taskgroups.py:966
Functiontest_cancelled_parent
()
tests/test_taskgroups.py:1180
Functiontest_cancelled_raises_beyond_origin_shielded
()
tests/test_taskgroups.py:1010
Functiontest_cancelled_raises_beyond_origin_unshielded
()
tests/test_taskgroups.py:991
Methodtest_cancelled_receive_pauses_reading
( self, server_addr: tuple[str, int] )
tests/test_sockets.py:267
Functiontest_cancelled_scope_based_checkpoint
Regression test closely related to #698.
tests/test_taskgroups.py:974
Methodtest_cancelled_send_breaks_stream
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext )
tests/streams/test_tls.py:64
← previousnext →1,601–1,700 of 2,553, ranked by callers