Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agronholm/anyio
/ functions
Functions
2,163 in github.com/agronholm/anyio
⨍
Functions
2,163
◇
Types & classes
270
↳
Endpoints
11
Method
test_extra_attributes
( self, client_context: ssl.SSLContext, server_context: ssl.SSLContext, ca: CA )
tests/streams/test_tls.py:535
Method
test_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:67
Method
test_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:105
Function
test_fail_after
(delay: float)
tests/test_taskgroups.py:656
Function
test_fail_after_after_cancellation
()
tests/test_taskgroups.py:680
Function
test_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:695
Function
test_fail_after_no_timeout
()
tests/test_taskgroups.py:671
Function
test_fail_after_scope_cancelled_before_timeout
()
tests/test_taskgroups.py:710
Function
test_failing_child_task_cancels_host
()
tests/test_taskgroups.py:499
Function
test_failing_host_task_cancels_children
()
tests/test_taskgroups.py:516
Method
test_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
Method
test_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:540
Function
test_feed_data
()
tests/streams/test_buffered.py:135
Method
test_finite_cases
(self)
tests/test_itertools.py:823
Method
test_float_infinity_outside_event_loop
(self)
tests/test_synchronization.py:933
Method
test_free_tcp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_tcp_port: int )
tests/test_pytest_plugin.py:764
Method
test_free_udp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_udp_port: int )
tests/test_pytest_plugin.py:772
Method
test_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:766
Method
test_from_async_iterable
(self)
tests/test_itertools.py:215
Method
test_from_iterable
(self)
tests/test_itertools.py:208
Method
test_from_iterable_empty
(self)
tests/test_itertools.py:212
Method
test_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:751
Method
test_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1019
Method
test_from_socket
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1515
Method
test_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:1676
Method
test_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1895
Method
test_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2065
Method
test_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:2234
Method
test_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:2423
Method
test_from_socket_not_a_socket
(self)
tests/test_sockets.py:759
Method
test_from_socket_not_bound
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1027
Method
test_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:786
Method
test_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1548
Method
test_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2085
Method
test_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2445
Method
test_from_socket_pass_file_fd
(self, tmp_path: Path)
tests/test_sockets.py:766
Method
test_from_socket_wrong_address_family
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1536
Method
test_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:774
Method
test_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1524
Method
test_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1903
Method
test_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2073
Method
test_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2240
Method
test_from_socket_wrong_socket_type
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2433
Method
test_from_uri
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:263
Method
test_fullmatch
(self)
tests/test_fileio.py:612
Function
test_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:810
Function
test_get_running_tasks
()
tests/test_debugging.py:74
Method
test_get_set
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any], )
tests/test_lowlevel.py:90
Function
test_getaddrinfo
()
tests/test_sockets.py:2530
Function
test_getaddrinfo_ipv6_disabled
()
tests/test_sockets.py:2559
Function
test_getaddrinfo_ipv6addr
( sock_type: Literal[socket.SocketKind.SOCK_STREAM], event_loop_implementation_name: str | None, )
tests/test_sockets.py:2538
Function
test_getnameinfo
()
tests/test_sockets.py:2565
Function
test_gettemp_functions
()
tests/test_tempfile.py:197
Method
test_glob
( self, populated_tmpdir: Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:453
Method
test_glob_case_sensitive
(self, populated_tmpdir: Path)
tests/test_fileio.py:479
Method
test_glob_recurse_symlinks
(self, populated_tmpdir: Path)
tests/test_fileio.py:506
Method
test_group
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:666
Method
test_handshake_fail
( self, server_context: ssl.SSLContext, caplog: pytest.LogCaptureFixture )
tests/streams/test_tls.py:491
Method
test_happy_eyeballs
( self, local_addr: str, expected_client_addr: str, fake_localhost_dns: None )
tests/test_sockets.py:382
Method
test_happy_eyeballs_refcycles
Test derived from https://github.com/python/cpython/pull/124859
tests/test_sockets.py:431
Method
test_hardlink_to
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:632
Method
test_has_initial
(self)
tests/test_functools.py:444
Method
test_hash
(self)
tests/test_fileio.py:144
Method
test_home
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:289
Function
test_host_exception
()
tests/test_taskgroups.py:438
Function
test_hypothesis_function_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:388
Function
test_hypothesis_module_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:355
Function
test_identical_sys_path
Test that partial() can be used to pass keyword arguments.
tests/test_to_process.py:34
Method
test_increase_tokens
(self)
tests/test_synchronization.py:779
Method
test_increase_tokens_lets_others_acquire
(self)
tests/test_synchronization.py:865
Method
test_indexable_arguments
(self)
tests/test_itertools.py:584
Method
test_infinite
(self)
tests/test_itertools.py:807
Method
test_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:231
Method
test_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:334
Method
test_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:471
Method
test_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:690
Method
test_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:895
Function
test_interrupted_by_close
(socket_type: str)
tests/test_sockets.py:2626
Method
test_invalid_argument_count
(self)
tests/test_itertools.py:606
Method
test_invalid_indices
(self)
tests/test_itertools.py:615
Function
test_invalid_max_buffer
()
tests/streams/test_memory.py:33
Method
test_invalid_n
(self)
tests/test_itertools.py:184
Method
test_invalid_n
(self)
tests/test_itertools.py:971
Method
test_invalid_r_type
(self)
tests/test_itertools.py:731
Method
test_invalid_repeat_type
(self)
tests/test_itertools.py:789
Method
test_invalid_times_type
(self)
tests/test_itertools.py:838
Method
test_is_absolute
(self, arg: str, result: bool)
tests/test_fileio.py:302
Method
test_is_block_device
(self)
tests/test_fileio.py:309
Method
test_is_char_device
(self)
tests/test_fileio.py:323
Method
test_is_dir
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:327
Method
test_is_fifo
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:336
Method
test_is_file
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:342
Method
test_is_junction
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:352
Method
test_is_mount
(self)
tests/test_fileio.py:355
Method
test_is_relative_to
(self, arg: str, result: bool)
tests/test_fileio.py:390
Method
test_is_reserved
(self)
tests/test_fileio.py:364
Method
test_is_socket
(self, tmp_path_factory: TempPathFactory)
tests/test_fileio.py:372
Method
test_is_symlink
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:383
Method
test_iterable
(self)
tests/test_itertools.py:407
Method
test_iterable
(self)
tests/test_itertools.py:942
← previous
next →
1,601–1,700 of 2,163, ranked by callers