MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Functiontest_exception_when_future_not_finished
()
tests/test_futures.py:90
Functiontest_exceptions_after_subprocess_closes_standard_streams
()
tests/test_subprocesses.py:292
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:294
Methodtest_exists_follow_symlinks
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:367
Methodtest_exit_before_enter
(self)
tests/test_contextmanagers.py:117
Methodtest_exit_before_enter
(self)
tests/test_contextmanagers.py:220
Methodtest_exit_with_cancellation
Test that the directory is cleaned up even if the host task is cancelled while exiting the context manager. ``__aexit__`` ru
tests/test_tempfile.py:229
Methodtest_expanduser
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:298
Methodtest_extra_attributes
( self, server_sock: socket.socket, server_addr: tuple[str, int], family: AnyI
tests/test_sockets.py:247
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:993
Methodtest_extra_attributes
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1425
Methodtest_extra_attributes
(self, socket_path: Path)
tests/test_sockets.py:1949
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:2204
Methodtest_extra_attributes
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:2472
Methodtest_extra_attributes
(self, socket_path: Path)
tests/test_sockets.py:2883
Methodtest_extra_attributes
( self, socket_path: Path, peer_socket_path: Path, peer_sock: socket.socket,
tests/test_sockets.py:3096
Methodtest_extra_attributes
( self, request: pytest.FixtureRequest, server_context: ssl.SSLContext, client
tests/streams/test_tls.py:176
Methodtest_extra_attributes
( self, client_context: ssl.SSLContext, server_context: ssl.SSLContext, ca: CA )
tests/streams/test_tls.py:565
Methodtest_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:83
Methodtest_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:134
Functiontest_fail_after
(delay: float)
tests/test_taskgroups.py:714
Functiontest_fail_after_after_cancellation
()
tests/test_taskgroups.py:738
Functiontest_fail_after_cancelled_before_deadline
Test that fail_after() won't raise TimeoutError if its scope is cancelled before the deadline.
tests/test_taskgroups.py:753
Functiontest_fail_after_no_timeout
()
tests/test_taskgroups.py:729
Functiontest_fail_after_reason
()
tests/test_taskgroups.py:775
Functiontest_fail_after_scope_cancelled_before_timeout
()
tests/test_taskgroups.py:768
Functiontest_fail_at
(delay: float)
tests/test_taskgroups.py:827
Functiontest_fail_at_no_timeout
()
tests/test_taskgroups.py:841
Functiontest_fail_at_reason
()
tests/test_taskgroups.py:850
Functiontest_failing_child_task_cancels_host
()
tests/test_taskgroups.py:557
Functiontest_failing_host_task_cancels_children
()
tests/test_taskgroups.py:574
Methodtest_fast_acquire
Test that fast_acquire=True does not yield back control to the event loop when there is no contention.
tests/test_synchronization.py:73
Methodtest_fast_acquire
Test that fast_acquire=True does not yield back control to the event loop when there is no contention.
tests/test_synchronization.py:569
Methodtest_fast_acquire_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:587
Functiontest_feed_data
()
tests/streams/test_buffered.py:171
Methodtest_finite_cases
(self)
tests/test_itertools.py:834
Methodtest_float_infinity_outside_event_loop
(self)
tests/test_synchronization.py:997
Methodtest_free_tcp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_tcp_port: int )
tests/test_pytest_plugin.py:825
Methodtest_free_udp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_udp_port: int )
tests/test_pytest_plugin.py:833
Methodtest_from_async
Test that portals don't deadlock when started/used from async code. Note: This test will deadlock if there is a regression. A deadlo
tests/test_from_thread.py:1040
Methodtest_from_async_iterable
(self)
tests/test_itertools.py:215
Methodtest_from_iterable
(self)
tests/test_itertools.py:208
Methodtest_from_iterable_empty
(self)
tests/test_itertools.py:212
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:946
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1245
Methodtest_from_socket
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1885
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:2046
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2385
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2638
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:3029
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:3257
Methodtest_from_socket_not_a_socket
(self)
tests/test_sockets.py:954
Methodtest_from_socket_not_bound
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1253
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:983
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1918
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2658
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:3279
Methodtest_from_socket_pass_file_fd
(self, tmp_path: Path)
tests/test_sockets.py:961
Methodtest_from_socket_wrong_address_family
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1906
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:971
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1894
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2393
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2646
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:3035
Methodtest_from_socket_wrong_socket_type
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:3267
Methodtest_from_uri
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:278
Methodtest_fullmatch
(self)
tests/test_fileio.py:671
Functiontest_func_as_parametrize_param_name
Test that "func" can be used as a parameter name in `pytest.mark.parametrize` when using the pytest plugin.
tests/test_pytest_plugin.py:871
Methodtest_future_cancellation_does_not_block
( self, target_backend: str )
tests/test_from_thread.py:573
Functiontest_gather_propagates_exception
()
tests/test_concurrency_utils.py:31
Functiontest_gather_results_in_order
()
tests/test_concurrency_utils.py:15
Methodtest_get_current_task
Regression test for #773: get_current_task() must raise a clear RuntimeError, not an opaque weakref TypeError, when called from a
tests/test_from_thread.py:343
Functiontest_get_running_tasks
()
tests/test_debugging.py:76
Methodtest_get_set
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any], )
tests/test_lowlevel.py:90
Functiontest_getaddrinfo
()
tests/test_sockets.py:3364
Functiontest_getaddrinfo_ipv6_disabled
()
tests/test_sockets.py:3395
Functiontest_getaddrinfo_ipv6addr
( sock_type: Literal[socket.SocketKind.SOCK_STREAM, socket.SocketKind.SOCK_DGRAM], event_loop_implemen
tests/test_sockets.py:3372
Functiontest_getnameinfo
()
tests/test_sockets.py:3401
Functiontest_gettemp_functions
()
tests/test_tempfile.py:316
Methodtest_glob
( self, populated_tmpdir: Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:512
Methodtest_glob_case_sensitive
(self, populated_tmpdir: Path)
tests/test_fileio.py:538
Methodtest_glob_recurse_symlinks
(self, populated_tmpdir: Path)
tests/test_fileio.py:565
Methodtest_group
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:725
Methodtest_group_follow_symlinks
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:739
Methodtest_handshake_fail
( self, server_context: ssl.SSLContext, caplog: pytest.LogCaptureFixture )
tests/streams/test_tls.py:521
Methodtest_happy_eyeballs
( self, local_addr: str, expected_client_addr: str, fake_localhost_dns: None )
tests/test_sockets.py:464
Methodtest_happy_eyeballs_refcycles
Test derived from https://github.com/python/cpython/pull/124859
tests/test_sockets.py:537
Methodtest_hardlink_to
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:691
Methodtest_has_initial
(self)
tests/test_functools.py:444
Methodtest_hash
(self)
tests/test_fileio.py:159
Methodtest_home
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:304
Functiontest_host_exception
()
tests/test_taskgroups.py:496
Functiontest_hypothesis_function_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:391
Functiontest_hypothesis_module_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:358
Functiontest_hypothesis_multiple_backends
(testdir: Pytester)
tests/test_pytest_plugin.py:433
Functiontest_hypothesis_multiple_backends_in_class
(testdir: Pytester)
tests/test_pytest_plugin.py:454
Functiontest_identical_sys_path
Test that partial() can be used to pass keyword arguments.
tests/test_to_process.py:34
Functiontest_incomplete_character_at_eof
( errors: str, expected: AbstractContextManager[object] )
tests/streams/test_text.py:42
Methodtest_increase_tokens
(self)
tests/test_synchronization.py:819
← previousnext →1,901–2,000 of 2,553, ranked by callers