MCPcopy Create free account

hub / github.com/agronholm/anyio / functions

Functions2,553 in github.com/agronholm/anyio

Methodtest_no_caching
(self, maxsize: int)
tests/test_functools.py:96
Functiontest_no_called_started_twice
()
tests/test_taskgroups.py:239
Methodtest_no_initial
(self)
tests/test_functools.py:437
Functiontest_no_spin_on_done_task_in_cancel_scope
Regression test for #1111. When a task group is entered but never exited (e.g. it is abandoned because the task owning it finishes without un
tests/test_taskgroups.py:423
Methodtest_non_coro
(self)
tests/test_taskgroups.py:2341
Functiontest_non_main_task_name
( name_input: bytes | str | None, expected: str )
tests/test_debugging.py:64
Functiontest_nonexistent_main_module
Test that worker process creation won't fail if the detected path to the `__main__` module doesn't exist. Regression test for #696.
tests/test_to_process.py:143
Functiontest_not_closed_warning
()
tests/streams/test_memory.py:496
Methodtest_not_iterable
(self)
tests/test_functools.py:431
Methodtest_notification_handover_on_cancel
(self)
tests/test_synchronization.py:418
Methodtest_notify_after_release
(self)
tests/test_synchronization.py:462
Methodtest_notify_no_lock
(self)
tests/test_synchronization.py:450
Methodtest_notify_with_shared_lock
(self)
tests/test_synchronization.py:443
Methodtest_nowait_acquire_after_release_does_not_oversubscribe
(self)
tests/test_synchronization.py:1086
Methodtest_open
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:754
Methodtest_open_close
( self, testdatafile: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:44
Functiontest_open_process_connect_to_file
(tmp_path: Path)
tests/test_subprocesses.py:151
Methodtest_ordered_queue
(self)
tests/test_synchronization.py:885
Functiontest_outcome_exception_does_not_discard_runner_task
(testdir: Pytester)
tests/test_pytest_plugin.py:559
Methodtest_owner
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:769
Methodtest_owner_after_release
(self)
tests/test_synchronization.py:247
Methodtest_owner_follow_symlinks
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:783
Functiontest_package_names
()
tests/test_lazyimport.py:173
Methodtest_parent_property
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:238
Methodtest_parents_property
(self, limiter: CapacityLimiter | None)
tests/test_fileio.py:229
Functiontest_partial
Test that partial() can be used to pass keyword arguments.
tests/test_to_process.py:39
Methodtest_parts_property
(self)
tests/test_fileio.py:214
Methodtest_pass_connectable
(self)
tests/test_sockets.py:3302
Functiontest_patched_asyncio_task
(monkeypatch: MonkeyPatch)
tests/test_taskgroups.py:2227
Functiontest_plugin
(testdir: Pytester)
tests/test_pytest_plugin.py:26
Functiontest_plugin_loads_with_filterwarnings_error
Regression test for Issue #1271: importing the plugin must not touch the deprecated ``_pytest.python.CallSpec2`` alias, which crashes pytest
tests/test_pytest_plugin.py:891
Functiontest_print
Test that print() won't interfere with parent-worker communication.
tests/test_to_process.py:53
Functiontest_process_aexit_cancellation_closes_standard_streams
Regression test for #669. Ensures that open_process.__aexit__() closes standard streams when cancelled. Also ensures that process.std{in
tests/test_subprocesses.py:261
Functiontest_process_aexit_cancellation_doesnt_orphan_process
Regression test for #669. Ensures that open_process.__aexit__() doesn't leave behind an orphan process when cancelled.
tests/test_subprocesses.py:243
Functiontest_process_cwd
Test that `cwd` is successfully passed to the subprocess implementation
tests/test_subprocesses.py:117
Functiontest_process_env
Test that `env` is successfully passed to the subprocess implementation
tests/test_subprocesses.py:124
Functiontest_process_new_session_sid
Test that start_new_session is successfully passed to the subprocess implementation.
tests/test_subprocesses.py:136
Functiontest_process_receive_invalid_max_bytes
(max_bytes: int)
tests/test_subprocesses.py:106
Functiontest_programmatic_anyio_mark
Test that the anyio marker added programmatically via pytest_collection_modifyitems causes the test to be run (regression test for issue #422).
tests/test_pytest_plugin.py:842
Functiontest_propagate_native_cancellation_from_taskgroup
()
tests/test_taskgroups.py:360
Methodtest_propagates_inner_exception
(self)
tests/test_itertools.py:241
Methodtest_properties
Ensure that all public properties and methods are available on the async Path class.
tests/test_fileio.py:127
Methodtest_ragged_eof_on_receive
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext )
tests/streams/test_tls.py:354
Methodtest_ragged_eofs
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext, server
tests/streams/test_tls.py:300
Methodtest_raise_baseexception_from_task
Test that when a task raises a BaseException, it does not trigger additional exceptions when trying to close the portal.
tests/test_from_thread.py:1020
Functiontest_raising_exception
()
tests/test_futures.py:58
Methodtest_read
(self, testdatafile: pathlib.Path, testdata: bytes)
tests/test_fileio.py:51
Methodtest_read_after_close
(self, file_path: Path)
tests/streams/test_file.py:44
Methodtest_read_bytes
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:807
Methodtest_read_file
(self, file_path: Path)
tests/streams/test_file.py:39
Methodtest_read_file_as_path
(self, file_path_or_str: Path | str)
tests/streams/test_file.py:35
Methodtest_read_text
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:812
Methodtest_read_text_newline
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:401
Methodtest_readinto
(self, testdatafile: pathlib.Path, testdata: bytes)
tests/test_fileio.py:58
Methodtest_readinto
(self)
tests/test_tempfile.py:156
Methodtest_readinto1
(self, testdatafile: pathlib.Path, testdata: bytes)
tests/test_fileio.py:64
Methodtest_readinto1
(self)
tests/test_tempfile.py:164
Methodtest_readlink
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:797
Functiontest_receive
()
tests/streams/test_text.py:20
Methodtest_receive_after_close
(self, server_addr: tuple[str, int])
tests/test_sockets.py:729
Methodtest_receive_after_close
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1843
Methodtest_receive_after_close
(self)
tests/test_sockets.py:2346
Methodtest_receive_after_close
(self, family: AnyIPAddressFamily)
tests/test_sockets.py:2622
Methodtest_receive_after_close
(self)
tests/test_sockets.py:3002
Methodtest_receive_after_close
( self, peer_socket_path_or_str: Path | str, peer_sock: socket.socket )
tests/test_sockets.py:3241
Methodtest_receive_after_peer_closed
( self, family: AnyIPAddressFamily, request: FixtureRequest )
tests/test_sockets.py:741
Functiontest_receive_after_send_closed
()
tests/streams/test_memory.py:282
Functiontest_receive_closed_with_buffer
( method: str, args: tuple[object, ...] )
tests/streams/test_buffered.py:69
Functiontest_receive_encoding_error
()
tests/streams/test_text.py:72
Functiontest_receive_exactly
()
tests/streams/test_buffered.py:36
Functiontest_receive_exactly_incomplete
()
tests/streams/test_buffered.py:49
Methodtest_receive_exception_cause_preserved
Test that when connection_lost is called with an exception, the resulting BrokenResourceError has the original exception as its __cau
tests/test_sockets.py:774
Methodtest_receive_fds
( self, server_sock: socket.socket, socket_path: Path, tmp_path: Path )
tests/test_sockets.py:1547
Methodtest_receive_fds_bad_args
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1576
Functiontest_receive_invalid_max_bytes
(max_bytes: int)
tests/streams/test_buffered.py:149
Methodtest_receive_invalid_max_bytes
( self, server_addr: tuple[str, int], max_bytes: int )
tests/test_sockets.py:368
Methodtest_receive_invalid_max_bytes
( self, server_sock: socket.socket, socket_path: Path, max_bytes: int )
tests/test_sockets.py:1489
Methodtest_receive_invalid_max_bytes
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext, max_by
tests/streams/test_tls.py:147
Methodtest_receive_invalid_max_bytes
( self, stapled: StapledByteStream, max_bytes: int )
tests/streams/test_stapled.py:99
Methodtest_receive_invalid_max_bytes
( self, file_path: Path, max_bytes: int )
tests/streams/test_file.py:65
Methodtest_receive_large_buffer
( self, server_sock: socket.socket, socket_path: Path )
tests/test_sockets.py:1498
Methodtest_receive_send
( self, stapled: StapledByteStream, send_stream: DummyByteSendStream )
tests/streams/test_stapled.py:71
Methodtest_receive_send
( self, stapled: StapledObjectStream[str], send_stream: DummyObjectSendStream[str] )
tests/streams/test_stapled.py:187
Methodtest_receive_send_after_eof
( self, server_context: ssl.SSLContext, client_context: ssl.SSLContext )
tests/streams/test_tls.py:393
Functiontest_receive_send_closed_receive_stream
()
tests/streams/test_memory.py:129
Functiontest_receive_send_closed_send_stream
()
tests/streams/test_memory.py:118
Functiontest_receive_signals
()
tests/test_signals.py:24
Functiontest_receive_skips_empty_messages
()
tests/streams/test_buffered.py:20
Functiontest_receive_then_send
()
tests/streams/test_memory.py:42
Functiontest_receive_then_send_nowait
()
tests/streams/test_memory.py:58
Methodtest_receive_timeout
( self, server_sock: socket.socket, server_addr: tuple[str, int] )
tests/test_sockets.py:578
Functiontest_receive_until
()
tests/streams/test_buffered.py:81
Functiontest_receive_until_incomplete
()
tests/streams/test_buffered.py:99
Functiontest_receive_when_cancelled
Test that calling receive() in a cancelled scope prevents it from going through with the operation.
tests/streams/test_memory.py:290
Methodtest_relative_to_sibling
( self, populated_tmpdir: Path, monkeypatch: pytest.MonkeyPatch, )
tests/test_fileio.py:825
Methodtest_relative_to_subpath
(self, tmp_path: pathlib.Path)
tests/test_fileio.py:817
Methodtest_rename
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:840
Methodtest_replace
( self, tmp_path: pathlib.Path, limiter: CapacityLimiter | None )
tests/test_fileio.py:851
Functiontest_repr
()
tests/test_futures.py:133
Methodtest_repr
(self)
tests/test_fileio.py:153
← previousnext →2,101–2,200 of 2,553, ranked by callers