MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

Methodtest_connect_tcp_with_tls
( self, server_context: SSLContext, client_context: SSLContext, server_sock: s
tests/test_sockets.py:628
Methodtest_connect_tcp_with_tls_cert_check_fail
( self, server_context: SSLContext, server_sock: socket.socket, server_addr: t
tests/test_sockets.py:656
Methodtest_connect_tcp_with_tls_unicode_hostname
Test that connect_tcp() forwards the target host name to ``TLSStream.wrap()`` as-is, deferring the matching against the peer certific
tests/test_sockets.py:683
Methodtest_connecting_using_bytes
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1497
Methodtest_connecting_with_non_utf8
(self, socket_path: Path)
tests/test_sockets.py:1506
Methodtest_connection_refused
( self, target: str, exception_class: type[ExceptionGroup] | type[ConnectionRefusedErr
tests/test_sockets.py:461
Methodtest_consumes_first_failing_element
(self)
tests/test_itertools.py:920
Methodtest_context_manager
(self)
tests/test_lowlevel.py:141
Methodtest_context_manager
(self)
tests/test_tempfile.py:113
Methodtest_contextmanager
(self)
tests/test_contextmanagers.py:60
Methodtest_contextmanager
(self)
tests/test_contextmanagers.py:154
Methodtest_contextmanager
(self)
tests/test_synchronization.py:33
Methodtest_contextmanager
(self)
tests/test_synchronization.py:352
Methodtest_contextmanager
(self)
tests/test_synchronization.py:513
Functiontest_contextvar_propagation
()
tests/test_to_thread.py:153
Methodtest_contextvar_propagation
(self, anyio_backend_name: str)
tests/test_from_thread.py:255
Methodtest_contextvar_propagation
(self)
tests/test_from_thread.py:317
Methodtest_contextvar_propagation_async
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:718
Methodtest_contextvar_propagation_sync
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_from_thread.py:708
Methodtest_copy
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:397
Methodtest_copy_into
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:411
Methodtest_coro_attr
(self)
tests/test_taskgroups.py:2120
Methodtest_create_unbound_socket
Regression test for #360.
tests/test_sockets.py:1887
Methodtest_current_default_thread_limiter
(self)
tests/test_synchronization.py:804
Methodtest_custom_context
(self)
tests/test_taskgroups.py:2267
Methodtest_custom_start_and_step
(self)
tests/test_itertools.py:747
Methodtest_cwd
(self)
tests/test_fileio.py:274
Functiontest_deadline_moved
()
tests/test_taskgroups.py:1087
Functiontest_deadline_reached_on_start
()
tests/test_taskgroups.py:1081
Methodtest_debug
(self)
tests/test_eventloop.py:93
Methodtest_debug_via_env
(self, monkeypatch: MonkeyPatch)
tests/test_eventloop.py:100
Functiontest_debugger_exit_in_taskgroup
(testdir: Pytester, anyio_backend_name: str)
tests/test_pytest_plugin.py:431
Methodtest_default_context_ignore_unexpected_eof_flag_off
(self)
tests/streams/test_tls.py:451
Methodtest_defaults
(self)
tests/test_itertools.py:389
Functiontest_deprecated_cancellable_param
()
tests/test_to_thread.py:148
Functiontest_deprecated_item_type_parameter
()
tests/streams/test_memory.py:464
Functiontest_deprecated_wait_socket
(anyio_backend_name: str)
tests/test_sockets.py:2608
Methodtest_does_not_overconsume_iterator
(self)
tests/test_itertools.py:601
Methodtest_drive_property
(self)
tests/test_fileio.py:205
Functiontest_dynamic_async_fixture_access_does_not_hang
Test for a situation when an async test or fixture dynamically request an async fixture via request.getfixturevalue() from causing a re-entra
tests/test_pytest_plugin.py:614
Functiontest_eager_task_factory
( request: FixtureRequest, use_custom_eager_factory: bool )
tests/test_taskgroups.py:1981
Methodtest_edge_cases
(self)
tests/test_itertools.py:281
Methodtest_edge_cases
(self)
tests/test_itertools.py:326
Methodtest_edge_cases
(self)
tests/test_itertools.py:461
Methodtest_edge_cases
(self)
tests/test_itertools.py:507
Methodtest_edge_cases
(self)
tests/test_itertools.py:720
Methodtest_edge_cases
(self)
tests/test_itertools.py:903
Methodtest_empty
(self)
tests/test_itertools.py:198
Methodtest_empty_async_iterable_no_initial
(self)
tests/test_functools.py:487
Methodtest_empty_inner_iterables
(self)
tests/test_itertools.py:227
Methodtest_empty_inputs
(self)
tests/test_itertools.py:132
Methodtest_empty_inputs
(self)
tests/test_itertools.py:159
Methodtest_empty_inputs
(self)
tests/test_itertools.py:430
Methodtest_empty_inputs
(self)
tests/test_itertools.py:559
Methodtest_empty_iter_no_initial
(self)
tests/test_functools.py:451
Methodtest_empty_iterable_no_initial
(self)
tests/test_functools.py:481
Methodtest_empty_results
(self)
tests/test_itertools.py:662
Functiontest_empty_taskgroup_contains_yield_point
Test that a task group yields at exit at least once, even with no child tasks to wait on.
tests/test_taskgroups.py:909
Methodtest_enter_twice
(self)
tests/test_contextmanagers.py:106
Methodtest_enter_twice
(self)
tests/test_contextmanagers.py:209
Functiontest_entrypoint_main_module
Test that worker process creation succeeds when __main__.__file__ points to an entry point script (no .py extension). Regression test for #10
tests/test_to_process.py:166
Methodtest_eof_after_send
Regression test for #701.
tests/test_sockets.py:974
Functiontest_escaping_cancelled_error_from_cancelled_task
Regression test for issue #88. No CancelledError should escape the outer scope.
tests/test_taskgroups.py:1303
Functiontest_escaping_cancelled_exception
()
tests/test_taskgroups.py:642
Methodtest_event
(self)
tests/test_synchronization.py:269
Methodtest_event_cancel
(self)
tests/test_synchronization.py:281
Methodtest_event_wait_before_set_before_cancel
(self)
tests/test_synchronization.py:299
Methodtest_exact_boundary_no_rollover
(self)
tests/test_tempfile.py:103
Functiontest_exception
Test that exceptions are delivered properly.
tests/test_to_interpreter.py:48
Functiontest_exception
Test that exceptions are delivered properly.
tests/test_to_process.py:47
Methodtest_exception
(self)
tests/test_taskgroups.py:2163
Methodtest_exception
(self, handle_exc: bool)
tests/test_contextmanagers.py:68
Methodtest_exception
(self, handle_exc: bool)
tests/test_contextmanagers.py:162
Functiontest_exception_cancels_siblings
()
tests/test_taskgroups.py:1022
Functiontest_exception_group_children
()
tests/test_taskgroups.py:621
Functiontest_exception_group_filtering
Test that CancelledErrors are filtered out of exception groups containing other exceptions. See also test_reraise_cancelled_in_excgroup.
tests/test_taskgroups.py:1209
Functiontest_exception_group_host
()
tests/test_taskgroups.py:631
Functiontest_exception_groups_suppresses_exc_context
()
tests/test_taskgroups.py:2025
Methodtest_exception_handling
(self)
tests/test_tempfile.py:49
Methodtest_exception_handling
(self)
tests/test_tempfile.py:135
Methodtest_exception_refcycles_base_error
Test for BaseExceptions. anyio doesn't treat these differently so this test is redundant but copied from CPython's asyncio.T
tests/test_taskgroups.py:1913
Methodtest_exception_refcycles_direct
Test that TaskGroup doesn't keep a reference to the raised ExceptionGroup Note: This test never failed on anyio, but keeping this te
tests/test_taskgroups.py:1838
Methodtest_exception_refcycles_errors
Test that TaskGroup deletes self._exceptions, and __aexit__ args
tests/test_taskgroups.py:1860
Methodtest_exception_refcycles_parent_task
Test that TaskGroup's cancel_scope deletes self._host_task
tests/test_taskgroups.py:1877
Methodtest_exception_refcycles_propagate_cancellation_error
Test that TaskGroup deletes cancelled_exc
tests/test_taskgroups.py:1896
Functiontest_exceptions_after_subprocess_closes_standard_streams
()
tests/test_subprocesses.py:286
Functiontest_exec_while_pruning
Test that in the case when one or more idle workers are pruned, the originally selected idle worker is re-added to the queue of idle workers.
tests/test_to_process.py:116
Methodtest_exists
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:279
Methodtest_exit_before_enter
(self)
tests/test_contextmanagers.py:115
Methodtest_exit_before_enter
(self)
tests/test_contextmanagers.py:218
Methodtest_expanduser
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:283
Methodtest_extra_attributes
( self, server_sock: socket.socket, server_addr: tuple[str, int], family: AnyI
tests/test_sockets.py:253
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:796
Methodtest_extra_attributes
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1199
Methodtest_extra_attributes
(self, socket_path: Path)
tests/test_sockets.py:1579
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:1771
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:1942
Methodtest_extra_attributes
(self, socket_path: Path)
tests/test_sockets.py:2123
Methodtest_extra_attributes
( self, socket_path: Path, peer_socket_path: Path, peer_sock: socket.socket,
tests/test_sockets.py:2301
Methodtest_extra_attributes
( self, request: pytest.FixtureRequest, server_context: ssl.SSLContext, client
tests/streams/test_tls.py:146
← previousnext →1,501–1,600 of 2,163, ranked by callers