MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,163 in github.com/agronholm/anyio

Methodtest_extra_attributes
( self, client_context: ssl.SSLContext, server_context: ssl.SSLContext, ca: CA )
tests/streams/test_tls.py:535
Methodtest_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:67
Methodtest_extra_attributes
(self, file_path: Path)
tests/streams/test_file.py:105
Functiontest_fail_after
(delay: float)
tests/test_taskgroups.py:656
Functiontest_fail_after_after_cancellation
()
tests/test_taskgroups.py:680
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:695
Functiontest_fail_after_no_timeout
()
tests/test_taskgroups.py:671
Functiontest_fail_after_scope_cancelled_before_timeout
()
tests/test_taskgroups.py:710
Functiontest_failing_child_task_cancels_host
()
tests/test_taskgroups.py:499
Functiontest_failing_host_task_cancels_children
()
tests/test_taskgroups.py:516
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:540
Functiontest_feed_data
()
tests/streams/test_buffered.py:135
Methodtest_finite_cases
(self)
tests/test_itertools.py:823
Methodtest_float_infinity_outside_event_loop
(self)
tests/test_synchronization.py:933
Methodtest_free_tcp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_tcp_port: int )
tests/test_pytest_plugin.py:764
Methodtest_free_udp_port
( self, families: Sequence[tuple[socket.AddressFamily, str]], free_udp_port: int )
tests/test_pytest_plugin.py:772
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:766
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:751
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1019
Methodtest_from_socket
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1515
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:1676
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1895
Methodtest_from_socket
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2065
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:2234
Methodtest_from_socket
(self, sock_or_fd_factory: SockFdFactoryProtocol)
tests/test_sockets.py:2423
Methodtest_from_socket_not_a_socket
(self)
tests/test_sockets.py:759
Methodtest_from_socket_not_bound
( self, family: AnyIPAddressFamily, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1027
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:786
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1548
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2085
Methodtest_from_socket_not_connected
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2445
Methodtest_from_socket_pass_file_fd
(self, tmp_path: Path)
tests/test_sockets.py:766
Methodtest_from_socket_wrong_address_family
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1536
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:774
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1524
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:1903
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2073
Methodtest_from_socket_wrong_socket_type
( self, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2240
Methodtest_from_socket_wrong_socket_type
( self, socket_path: Path, sock_or_fd_factory: SockFdFactoryProtocol )
tests/test_sockets.py:2433
Methodtest_from_uri
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:263
Methodtest_fullmatch
(self)
tests/test_fileio.py:612
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:810
Functiontest_get_running_tasks
()
tests/test_debugging.py:74
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:2530
Functiontest_getaddrinfo_ipv6_disabled
()
tests/test_sockets.py:2559
Functiontest_getaddrinfo_ipv6addr
( sock_type: Literal[socket.SocketKind.SOCK_STREAM], event_loop_implementation_name: str | None, )
tests/test_sockets.py:2538
Functiontest_getnameinfo
()
tests/test_sockets.py:2565
Functiontest_gettemp_functions
()
tests/test_tempfile.py:197
Methodtest_glob
( self, populated_tmpdir: Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:453
Methodtest_glob_case_sensitive
(self, populated_tmpdir: Path)
tests/test_fileio.py:479
Methodtest_glob_recurse_symlinks
(self, populated_tmpdir: Path)
tests/test_fileio.py:506
Methodtest_group
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:666
Methodtest_handshake_fail
( self, server_context: ssl.SSLContext, caplog: pytest.LogCaptureFixture )
tests/streams/test_tls.py:491
Methodtest_happy_eyeballs
( self, local_addr: str, expected_client_addr: str, fake_localhost_dns: None )
tests/test_sockets.py:382
Methodtest_happy_eyeballs_refcycles
Test derived from https://github.com/python/cpython/pull/124859
tests/test_sockets.py:431
Methodtest_hardlink_to
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:632
Methodtest_has_initial
(self)
tests/test_functools.py:444
Methodtest_hash
(self)
tests/test_fileio.py:144
Methodtest_home
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:289
Functiontest_host_exception
()
tests/test_taskgroups.py:438
Functiontest_hypothesis_function_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:388
Functiontest_hypothesis_module_mark
(testdir: Pytester)
tests/test_pytest_plugin.py:355
Functiontest_identical_sys_path
Test that partial() can be used to pass keyword arguments.
tests/test_to_process.py:34
Methodtest_increase_tokens
(self)
tests/test_synchronization.py:779
Methodtest_increase_tokens_lets_others_acquire
(self)
tests/test_synchronization.py:865
Methodtest_indexable_arguments
(self)
tests/test_itertools.py:584
Methodtest_infinite
(self)
tests/test_itertools.py:807
Methodtest_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:231
Methodtest_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:334
Methodtest_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:471
Methodtest_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:690
Methodtest_instantiate_outside_event_loop
( self, anyio_backend_name: str, anyio_backend_options: dict[str, Any] )
tests/test_synchronization.py:895
Functiontest_interrupted_by_close
(socket_type: str)
tests/test_sockets.py:2626
Methodtest_invalid_argument_count
(self)
tests/test_itertools.py:606
Methodtest_invalid_indices
(self)
tests/test_itertools.py:615
Functiontest_invalid_max_buffer
()
tests/streams/test_memory.py:33
Methodtest_invalid_n
(self)
tests/test_itertools.py:184
Methodtest_invalid_n
(self)
tests/test_itertools.py:971
Methodtest_invalid_r_type
(self)
tests/test_itertools.py:731
Methodtest_invalid_repeat_type
(self)
tests/test_itertools.py:789
Methodtest_invalid_times_type
(self)
tests/test_itertools.py:838
Methodtest_is_absolute
(self, arg: str, result: bool)
tests/test_fileio.py:302
Methodtest_is_block_device
(self)
tests/test_fileio.py:309
Methodtest_is_char_device
(self)
tests/test_fileio.py:323
Methodtest_is_dir
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:327
Methodtest_is_fifo
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:336
Methodtest_is_file
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:342
Methodtest_is_junction
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:352
Methodtest_is_mount
(self)
tests/test_fileio.py:355
Methodtest_is_relative_to
(self, arg: str, result: bool)
tests/test_fileio.py:390
Methodtest_is_reserved
(self)
tests/test_fileio.py:364
Methodtest_is_socket
(self, tmp_path_factory: TempPathFactory)
tests/test_fileio.py:372
Methodtest_is_symlink
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:383
Methodtest_iterable
(self)
tests/test_itertools.py:407
Methodtest_iterable
(self)
tests/test_itertools.py:942
← previousnext →1,601–1,700 of 2,163, ranked by callers