diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst
index 5d39e45..db3dcb6 100644
--- a/docs/versionhistory.rst
+++ b/docs/versionhistory.rst
@@ -10,6 +10,18 @@ This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_.
 - Fixed passing ``total_tokens`` to ``anyio.CapacityLimiter()`` as a keyword argument
   not working on the ``trio`` backend
   (`#515 <https://github.com/agronholm/anyio/issues/515>`_)
+- Fixed ``Process.aclose()`` not performing the minimum level of necessary cleanup when
+  cancelled. Previously:
+
+  - Cancellation of ``Process.aclose()`` could leak an orphan process
+  - Cancellation of ``run_process()`` could very briefly leak an orphan process.
+  - Cancellation of ``Process.aclose()`` or ``run_process()`` on Trio could leave
+    standard streams unclosed
+
+  (PR by Ganden Schaffner)
+- Fixed ``Process.stdin.aclose()``, ``Process.stdout.aclose()``, and
+  ``Process.stderr.aclose()`` not including a checkpoint on asyncio (PR by Ganden
+  Schaffner)
 
 **4.2.0**
 
diff --git a/src/anyio/_backends/_asyncio.py b/src/anyio/_backends/_asyncio.py
index e884f56..2699bf8 100644
--- a/src/anyio/_backends/_asyncio.py
+++ b/src/anyio/_backends/_asyncio.py
@@ -918,6 +918,7 @@ class StreamReaderWrapper(abc.ByteReceiveStream):
 
     async def aclose(self) -> None:
         self._stream.feed_eof()
+        await AsyncIOBackend.checkpoint()
 
 
 @dataclass(eq=False)
@@ -930,6 +931,7 @@ class StreamWriterWrapper(abc.ByteSendStream):
 
     async def aclose(self) -> None:
         self._stream.close()
+        await AsyncIOBackend.checkpoint()
 
 
 @dataclass(eq=False)
@@ -940,14 +942,22 @@ class Process(abc.Process):
     _stderr: StreamReaderWrapper | None
 
     async def aclose(self) -> None:
-        if self._stdin:
-            await self._stdin.aclose()
-        if self._stdout:
-            await self._stdout.aclose()
-        if self._stderr:
-            await self._stderr.aclose()
-
-        await self.wait()
+        with CancelScope(shield=True):
+            if self._stdin:
+                await self._stdin.aclose()
+            if self._stdout:
+                await self._stdout.aclose()
+            if self._stderr:
+                await self._stderr.aclose()
+
+        try:
+            await self.wait()
+        except BaseException:
+            self.kill()
+            with CancelScope(shield=True):
+                await self.wait()
+
+            raise
 
     async def wait(self) -> int:
         return await self._process.wait()
diff --git a/src/anyio/_backends/_trio.py b/src/anyio/_backends/_trio.py
index 13b960f..1a47192 100644
--- a/src/anyio/_backends/_trio.py
+++ b/src/anyio/_backends/_trio.py
@@ -283,14 +283,21 @@ class Process(abc.Process):
     _stderr: abc.ByteReceiveStream | None
 
     async def aclose(self) -> None:
-        if self._stdin:
-            await self._stdin.aclose()
-        if self._stdout:
-            await self._stdout.aclose()
-        if self._stderr:
-            await self._stderr.aclose()
-
-        await self.wait()
+        with CancelScope(shield=True):
+            if self._stdin:
+                await self._stdin.aclose()
+            if self._stdout:
+                await self._stdout.aclose()
+            if self._stderr:
+                await self._stderr.aclose()
+
+        try:
+            await self.wait()
+        except BaseException:
+            self.kill()
+            with CancelScope(shield=True):
+                await self.wait()
+            raise
 
     async def wait(self) -> int:
         return await self._process.wait()
diff --git a/src/anyio/_core/_subprocesses.py b/src/anyio/_core/_subprocesses.py
index c161029..5d5d7b7 100644
--- a/src/anyio/_core/_subprocesses.py
+++ b/src/anyio/_core/_subprocesses.py
@@ -65,20 +65,18 @@ async def run_process(
         start_new_session=start_new_session,
     ) as process:
         stream_contents: list[bytes | None] = [None, None]
-        try:
-            async with create_task_group() as tg:
-                if process.stdout:
-                    tg.start_soon(drain_stream, process.stdout, 0)
-                if process.stderr:
-                    tg.start_soon(drain_stream, process.stderr, 1)
-                if process.stdin and input:
-                    await process.stdin.send(input)
-                    await process.stdin.aclose()
-
-                await process.wait()
-        except BaseException:
-            process.kill()
-            raise
+        async with create_task_group() as tg:
+            if process.stdout:
+                tg.start_soon(drain_stream, process.stdout, 0)
+
+            if process.stderr:
+                tg.start_soon(drain_stream, process.stderr, 1)
+
+            if process.stdin and input:
+                await process.stdin.send(input)
+                await process.stdin.aclose()
+
+            await process.wait()
 
     output, errors = stream_contents
     if check and process.returncode != 0:

diff --git a/tests/test_subprocesses.py b/tests/test_subprocesses.py
index 640384c..cc54fc5 100644
--- a/tests/test_subprocesses.py
+++ b/tests/test_subprocesses.py
@@ -8,8 +8,9 @@ from subprocess import CalledProcessError
 from textwrap import dedent
 
 import pytest
+from _pytest.fixtures import FixtureRequest
 
-from anyio import open_process, run_process
+from anyio import CancelScope, ClosedResourceError, open_process, run_process
 from anyio.streams.buffered import BufferedByteReceiveStream
 
 pytestmark = pytest.mark.anyio
@@ -176,3 +177,61 @@ async def test_run_process_inherit_stdout(capfd: pytest.CaptureFixture[str]) ->
     out, err = capfd.readouterr()
     assert out == "stdout-text" + os.linesep
     assert err == "stderr-text" + os.linesep
+
+
+async def test_process_aexit_cancellation_doesnt_orphan_process() -> None:
+    """
+    Regression test for #669.
+
+    Ensures that open_process.__aexit__() doesn't leave behind an orphan process when
+    cancelled.
+
+    """
+    with CancelScope() as scope:
+        async with await open_process(
+            [sys.executable, "-c", "import time; time.sleep(1)"]
+        ) as process:
+            scope.cancel()
+
+    assert process.returncode is not None
+    assert process.returncode != 0
+
+
+async def test_process_aexit_cancellation_closes_standard_streams(
+    request: FixtureRequest,
+    anyio_backend_name: str,
+) -> None:
+    """
+    Regression test for #669.
+
+    Ensures that open_process.__aexit__() closes standard streams when cancelled. Also
+    ensures that process.std{in.send,{out,err}.receive}() raise ClosedResourceError on a
+    closed stream.
+
+    """
+    if anyio_backend_name == "asyncio":
+        # Avoid pytest.xfail here due to https://github.com/pytest-dev/pytest/issues/9027
+        request.node.add_marker(
+            pytest.mark.xfail(reason="#671 needs to be resolved first")
+        )
+
+    with CancelScope() as scope:
+        async with await open_process(
+            [sys.executable, "-c", "import time; time.sleep(1)"]
+        ) as process:
+            scope.cancel()
+
+    assert process.stdin is not None
+
+    with pytest.raises(ClosedResourceError):
+        await process.stdin.send(b"foo")
+
+    assert process.stdout is not None
+
+    with pytest.raises(ClosedResourceError):
+        await process.stdout.receive(1)
+
+    assert process.stderr is not None
+
+    with pytest.raises(ClosedResourceError):
+        await process.stderr.receive(1)
diff --git a/tests/test_taskgroups.py b/tests/test_taskgroups.py
index f4c87b3..bc4a289 100644
--- a/tests/test_taskgroups.py
+++ b/tests/test_taskgroups.py
@@ -185,6 +185,9 @@ async def test_start_cancelled() -> None:
     assert not finished
 
 
+@pytest.mark.xfail(
+    sys.version_info < (3, 9), reason="Requires a way to detect cancellation source"
+)
 @pytest.mark.parametrize("anyio_backend", ["asyncio"])
 async def test_start_native_host_cancelled() -> None:
     started = finished = False
@@ -199,9 +202,6 @@ async def test_start_native_host_cancelled() -> None:
         async with create_task_group() as tg:
             await tg.start(taskfunc)
 
-    if sys.version_info < (3, 9):
-        pytest.xfail("Requires a way to detect cancellation source")
-
     task = asyncio.get_running_loop().create_task(start_another())
     await wait_all_tasks_blocked()
     task.cancel()

`run_process` with `fail_after` causes RuntimeError on timeout
### Things to check first

- [X] I have searched the existing issues and didn't find my bug already reported there

- [X] I have checked that my bug is still present in the latest release


### AnyIO version

4.2.0

### Python version

3.12.1

### What happened?

I am using `fail_after` to timeout if some task group is taking too long, usually due to being stuck in some subprocess call longer than expected. I was able to reproduce this in a small script (posted in the other section) which results in the following exception after hitting the timeout handler in this case.

```
Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x1011d8360>
Traceback (most recent call last):
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_subprocess.py", line 126, in __del__
    self.close()
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_subprocess.py", line 104, in close
    proto.pipe.close()
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/unix_events.py", line 568, in close
    self._close(None)
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/unix_events.py", line 592, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_events.py", line 792, in call_soon
    self._check_closed()
  File "/Users/jmayeres/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_events.py", line 539, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
```

The expectation would be that no RuntimeError is raised. I noticed that I don't have this issue if I use `open_process` and handle the output via text streams, but if I use `run_process` like in this example I get errors when the timeout is raised. I believe there's also some other weird stuff happening with these exceptions but I wanted to keep the example simple (in our working code there's some nested task groups and it seems like we don't get the timeout exception handler reached but the exception gets absorbed somewhere).

### How can we reproduce the bug?

Invoking the following in python results in an exception after printing "Timed out!". Note that I'm running this on macOS 14.2.1

```python
from anyio import create_task_group, fail_after, run, run_process


async def subprocess_output_no_stream():
    result = await run_process("while true; do ps aux; sleep 1; done")
    stdout = result.stdout
    print(f"Subprocess done: got {len(stdout)} bytes")


async def main():
    try:
        with fail_after(1):
            async with create_task_group() as tg:
                print("Starting")
                tg.start_soon(subprocess_output_no_stream)
            print("Task group done")
    except TimeoutError:
        print("Timed out!")


if __name__ == "__main__":
    run(main)
```
tests/test_taskgroups.py::test_success[asyncio+uvloop]
tests/test_subprocesses.py::test_run_process[asyncio-shell] tests/test_subprocesses.py::test_run_process[asyncio-exec] tests/test_subprocesses.py::test_run_process[asyncio+uvloop-shell] tests/test_subprocesses.py::test_run_process[asyncio+uvloop-exec] tests/test_subprocesses.py::test_run_process[trio-shell] tests/test_subprocesses.py::test_run_process[trio-exec] tests/test_subprocesses.py::test_run_process_checked[asyncio] tests/test_subprocesses.py::test_run_process_checked[asyncio+uvloop] tests/test_subprocesses.py::test_run_process_checked[trio] tests/test_subprocesses.py::test_terminate[asyncio] tests/test_subprocesses.py::test_terminate[asyncio+uvloop] tests/test_subprocesses.py::test_terminate[trio] tests/test_subprocesses.py::test_process_cwd[asyncio] tests/test_subprocesses.py::test_process_cwd[asyncio+uvloop] tests/test_subprocesses.py::test_process_cwd[trio] tests/test_subprocesses.py::test_process_env[asyncio] tests/test_subprocesses.py::test_process_env[asyncio+uvloop] tests/test_subprocesses.py::test_process_env[trio] tests/test_subprocesses.py::test_process_new_session_sid[asyncio] tests/test_subprocesses.py::test_process_new_session_sid[asyncio+uvloop] tests/test_subprocesses.py::test_process_new_session_sid[trio] tests/test_subprocesses.py::test_run_process_connect_to_file[asyncio] tests/test_subprocesses.py::test_run_process_connect_to_file[asyncio+uvloop] tests/test_subprocesses.py::test_run_process_connect_to_file[trio] tests/test_subprocesses.py::test_run_process_inherit_stdout[asyncio] tests/test_subprocesses.py::test_run_process_inherit_stdout[asyncio+uvloop] tests/test_subprocesses.py::test_run_process_inherit_stdout[trio] tests/test_taskgroups.py::test_already_closed[asyncio] tests/test_taskgroups.py::test_already_closed[asyncio+uvloop] tests/test_taskgroups.py::test_already_closed[trio] tests/test_taskgroups.py::test_success[asyncio] tests/test_taskgroups.py::test_success[trio] tests/test_taskgroups.py::test_run_natively[asyncio] tests/test_taskgroups.py::test_run_natively[trio] tests/test_taskgroups.py::test_start_soon_while_running[asyncio] tests/test_taskgroups.py::test_start_soon_while_running[asyncio+uvloop] tests/test_taskgroups.py::test_start_soon_while_running[trio] tests/test_taskgroups.py::test_start_soon_after_error[asyncio] tests/test_taskgroups.py::test_start_soon_after_error[asyncio+uvloop] tests/test_taskgroups.py::test_start_soon_after_error[trio] tests/test_taskgroups.py::test_start_no_value[asyncio] tests/test_taskgroups.py::test_start_no_value[asyncio+uvloop] tests/test_taskgroups.py::test_start_no_value[trio] tests/test_taskgroups.py::test_start_called_twice[asyncio] tests/test_taskgroups.py::test_start_called_twice[asyncio+uvloop] tests/test_taskgroups.py::test_start_called_twice[trio] tests/test_taskgroups.py::test_start_with_value[asyncio] tests/test_taskgroups.py::test_start_with_value[asyncio+uvloop] tests/test_taskgroups.py::test_start_with_value[trio] tests/test_taskgroups.py::test_start_crash_before_started_call[asyncio] tests/test_taskgroups.py::test_start_crash_before_started_call[asyncio+uvloop] tests/test_taskgroups.py::test_start_crash_before_started_call[trio] tests/test_taskgroups.py::test_start_crash_after_started_call[asyncio] tests/test_taskgroups.py::test_start_crash_after_started_call[asyncio+uvloop] tests/test_taskgroups.py::test_start_crash_after_started_call[trio] tests/test_taskgroups.py::test_start_no_started_call[asyncio] tests/test_taskgroups.py::test_start_no_started_call[asyncio+uvloop] tests/test_taskgroups.py::test_start_no_started_call[trio] tests/test_taskgroups.py::test_start_cancelled[asyncio] tests/test_taskgroups.py::test_start_cancelled[trio] tests/test_taskgroups.py::test_start_native_host_cancelled[asyncio] tests/test_taskgroups.py::test_start_native_child_cancelled[asyncio] tests/test_taskgroups.py::test_propagate_native_cancellation_from_taskgroup[asyncio] tests/test_taskgroups.py::test_start_exception_delivery[asyncio] tests/test_taskgroups.py::test_start_exception_delivery[asyncio+uvloop] tests/test_taskgroups.py::test_start_exception_delivery[trio] tests/test_taskgroups.py::test_start_cancel_after_error[asyncio] tests/test_taskgroups.py::test_start_cancel_after_error[asyncio+uvloop] tests/test_taskgroups.py::test_start_cancel_after_error[trio] tests/test_taskgroups.py::test_host_exception[asyncio] tests/test_taskgroups.py::test_host_exception[asyncio+uvloop] tests/test_taskgroups.py::test_host_exception[trio] tests/test_taskgroups.py::test_level_cancellation[asyncio] tests/test_taskgroups.py::test_level_cancellation[asyncio+uvloop] tests/test_taskgroups.py::test_level_cancellation[trio] tests/test_taskgroups.py::test_failing_child_task_cancels_host[asyncio] tests/test_taskgroups.py::test_failing_child_task_cancels_host[asyncio+uvloop] tests/test_taskgroups.py::test_failing_child_task_cancels_host[trio] tests/test_taskgroups.py::test_failing_host_task_cancels_children[asyncio] tests/test_taskgroups.py::test_failing_host_task_cancels_children[asyncio+uvloop] tests/test_taskgroups.py::test_failing_host_task_cancels_children[trio] tests/test_taskgroups.py::test_cancel_scope_in_another_task[asyncio] tests/test_taskgroups.py::test_cancel_scope_in_another_task[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_scope_in_another_task[trio] tests/test_taskgroups.py::test_cancel_propagation[asyncio] tests/test_taskgroups.py::test_cancel_propagation[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_propagation[trio] tests/test_taskgroups.py::test_cancel_twice[asyncio] tests/test_taskgroups.py::test_cancel_twice[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_twice[trio] tests/test_taskgroups.py::test_cancel_exiting_task_group[asyncio] tests/test_taskgroups.py::test_cancel_exiting_task_group[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_exiting_task_group[trio] tests/test_taskgroups.py::test_cancel_before_entering_scope[asyncio] tests/test_taskgroups.py::test_cancel_before_entering_scope[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_before_entering_scope[trio] tests/test_taskgroups.py::test_exception_group_children[asyncio] tests/test_taskgroups.py::test_exception_group_children[asyncio+uvloop] tests/test_taskgroups.py::test_exception_group_children[trio] tests/test_taskgroups.py::test_exception_group_host[asyncio] tests/test_taskgroups.py::test_exception_group_host[asyncio+uvloop] tests/test_taskgroups.py::test_exception_group_host[trio] tests/test_taskgroups.py::test_escaping_cancelled_exception[asyncio] tests/test_taskgroups.py::test_escaping_cancelled_exception[asyncio+uvloop] tests/test_taskgroups.py::test_escaping_cancelled_exception[trio] tests/test_taskgroups.py::test_cancel_scope_cleared[asyncio] tests/test_taskgroups.py::test_cancel_scope_cleared[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_scope_cleared[trio] tests/test_taskgroups.py::test_fail_after[asyncio-instant] tests/test_taskgroups.py::test_fail_after[asyncio-delayed] tests/test_taskgroups.py::test_fail_after[asyncio+uvloop-instant] tests/test_taskgroups.py::test_fail_after[asyncio+uvloop-delayed] tests/test_taskgroups.py::test_fail_after[trio-instant] tests/test_taskgroups.py::test_fail_after[trio-delayed] tests/test_taskgroups.py::test_fail_after_no_timeout[asyncio] tests/test_taskgroups.py::test_fail_after_no_timeout[asyncio+uvloop] tests/test_taskgroups.py::test_fail_after_no_timeout[trio] tests/test_taskgroups.py::test_fail_after_after_cancellation[asyncio] tests/test_taskgroups.py::test_fail_after_after_cancellation[asyncio+uvloop] tests/test_taskgroups.py::test_fail_after_after_cancellation[trio] tests/test_taskgroups.py::test_fail_after_cancelled_before_deadline[asyncio] tests/test_taskgroups.py::test_fail_after_cancelled_before_deadline[asyncio+uvloop] tests/test_taskgroups.py::test_fail_after_cancelled_before_deadline[trio] tests/test_taskgroups.py::test_move_on_after[asyncio-instant] tests/test_taskgroups.py::test_move_on_after[asyncio-delayed] tests/test_taskgroups.py::test_move_on_after[asyncio+uvloop-instant] tests/test_taskgroups.py::test_move_on_after[asyncio+uvloop-delayed] tests/test_taskgroups.py::test_move_on_after[trio-instant] tests/test_taskgroups.py::test_move_on_after[trio-delayed] tests/test_taskgroups.py::test_move_on_after_no_timeout[asyncio] tests/test_taskgroups.py::test_move_on_after_no_timeout[asyncio+uvloop] tests/test_taskgroups.py::test_move_on_after_no_timeout[trio] tests/test_taskgroups.py::test_nested_move_on_after[asyncio] tests/test_taskgroups.py::test_nested_move_on_after[asyncio+uvloop] tests/test_taskgroups.py::test_nested_move_on_after[trio] tests/test_taskgroups.py::test_shielding[asyncio] tests/test_taskgroups.py::test_shielding[asyncio+uvloop] tests/test_taskgroups.py::test_shielding[trio] tests/test_taskgroups.py::test_cancel_from_shielded_scope[asyncio] tests/test_taskgroups.py::test_cancel_from_shielded_scope[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_from_shielded_scope[trio] tests/test_taskgroups.py::test_cancel_shielded_scope[asyncio] tests/test_taskgroups.py::test_cancel_shielded_scope[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_shielded_scope[trio] tests/test_taskgroups.py::test_cancelled_not_caught[asyncio] tests/test_taskgroups.py::test_cancelled_not_caught[asyncio+uvloop] tests/test_taskgroups.py::test_cancelled_not_caught[trio] tests/test_taskgroups.py::test_cancel_host_asyncgen[asyncio] tests/test_taskgroups.py::test_shielding_immediate_scope_cancelled[asyncio] tests/test_taskgroups.py::test_shielding_immediate_scope_cancelled[asyncio+uvloop] tests/test_taskgroups.py::test_shielding_immediate_scope_cancelled[trio] tests/test_taskgroups.py::test_shielding_mutate[asyncio] tests/test_taskgroups.py::test_shielding_mutate[asyncio+uvloop] tests/test_taskgroups.py::test_shielding_mutate[trio] tests/test_taskgroups.py::test_cancel_scope_in_child_task[asyncio] tests/test_taskgroups.py::test_cancel_scope_in_child_task[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_scope_in_child_task[trio] tests/test_taskgroups.py::test_exception_cancels_siblings[asyncio] tests/test_taskgroups.py::test_exception_cancels_siblings[asyncio+uvloop] tests/test_taskgroups.py::test_exception_cancels_siblings[trio] tests/test_taskgroups.py::test_cancel_cascade[asyncio] tests/test_taskgroups.py::test_cancel_cascade[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_cascade[trio] tests/test_taskgroups.py::test_cancelled_parent[asyncio] tests/test_taskgroups.py::test_cancelled_parent[asyncio+uvloop] tests/test_taskgroups.py::test_cancelled_parent[trio] tests/test_taskgroups.py::test_shielded_deadline[asyncio] tests/test_taskgroups.py::test_shielded_deadline[asyncio+uvloop] tests/test_taskgroups.py::test_shielded_deadline[trio] tests/test_taskgroups.py::test_deadline_reached_on_start[asyncio] tests/test_taskgroups.py::test_deadline_reached_on_start[asyncio+uvloop] tests/test_taskgroups.py::test_deadline_reached_on_start[trio] tests/test_taskgroups.py::test_deadline_moved[asyncio] tests/test_taskgroups.py::test_deadline_moved[asyncio+uvloop] tests/test_taskgroups.py::test_deadline_moved[trio] tests/test_taskgroups.py::test_timeout_error_with_multiple_cancellations[asyncio] tests/test_taskgroups.py::test_timeout_error_with_multiple_cancellations[asyncio+uvloop] tests/test_taskgroups.py::test_timeout_error_with_multiple_cancellations[trio] tests/test_taskgroups.py::test_nested_fail_after[asyncio] tests/test_taskgroups.py::test_nested_fail_after[asyncio+uvloop] tests/test_taskgroups.py::test_nested_fail_after[trio] tests/test_taskgroups.py::test_nested_shield[asyncio] tests/test_taskgroups.py::test_nested_shield[asyncio+uvloop] tests/test_taskgroups.py::test_nested_shield[trio] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_outer[asyncio] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_outer[asyncio+uvloop] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_outer[trio] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_middle[asyncio] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_middle[asyncio+uvloop] tests/test_taskgroups.py::test_triple_nested_shield_checkpoint_in_middle[trio] tests/test_taskgroups.py::test_task_group_in_generator[asyncio] tests/test_taskgroups.py::test_task_group_in_generator[asyncio+uvloop] tests/test_taskgroups.py::test_task_group_in_generator[trio] tests/test_taskgroups.py::test_exception_group_filtering[asyncio] tests/test_taskgroups.py::test_exception_group_filtering[asyncio+uvloop] tests/test_taskgroups.py::test_exception_group_filtering[trio] tests/test_taskgroups.py::test_cancel_propagation_with_inner_spawn[asyncio] tests/test_taskgroups.py::test_cancel_propagation_with_inner_spawn[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_propagation_with_inner_spawn[trio] tests/test_taskgroups.py::test_escaping_cancelled_error_from_cancelled_task[asyncio] tests/test_taskgroups.py::test_escaping_cancelled_error_from_cancelled_task[asyncio+uvloop] tests/test_taskgroups.py::test_escaping_cancelled_error_from_cancelled_task[trio] tests/test_taskgroups.py::test_cancel_generator_based_task tests/test_taskgroups.py::test_schedule_old_style_coroutine_func[asyncio] tests/test_taskgroups.py::test_cancel_native_future_tasks[asyncio] tests/test_taskgroups.py::test_cancel_native_future_tasks_cancel_scope[asyncio] tests/test_taskgroups.py::test_cancel_completed_task[asyncio] tests/test_taskgroups.py::test_task_in_sync_spawn_callback[asyncio] tests/test_taskgroups.py::test_task_in_sync_spawn_callback[asyncio+uvloop] tests/test_taskgroups.py::test_task_in_sync_spawn_callback[trio] tests/test_taskgroups.py::test_shielded_cancel_sleep_time[asyncio] tests/test_taskgroups.py::test_shielded_cancel_sleep_time[asyncio+uvloop] tests/test_taskgroups.py::test_shielded_cancel_sleep_time[trio] tests/test_taskgroups.py::test_cancelscope_wrong_exit_order[asyncio] tests/test_taskgroups.py::test_cancelscope_wrong_exit_order[asyncio+uvloop] tests/test_taskgroups.py::test_cancelscope_wrong_exit_order[trio] tests/test_taskgroups.py::test_cancelscope_exit_before_enter[asyncio] tests/test_taskgroups.py::test_cancelscope_exit_before_enter[asyncio+uvloop] tests/test_taskgroups.py::test_cancelscope_exit_before_enter[trio] tests/test_taskgroups.py::test_cancelscope_exit_in_wrong_task[asyncio] tests/test_taskgroups.py::test_unhandled_exception_group tests/test_taskgroups.py::test_single_cancellation_exc[asyncio] tests/test_taskgroups.py::test_single_cancellation_exc[asyncio+uvloop] tests/test_taskgroups.py::test_single_cancellation_exc[trio] tests/test_taskgroups.py::test_start_soon_parent_id[asyncio] tests/test_taskgroups.py::test_start_soon_parent_id[asyncio+uvloop] tests/test_taskgroups.py::test_start_soon_parent_id[trio] tests/test_taskgroups.py::test_start_parent_id[asyncio] tests/test_taskgroups.py::test_start_parent_id[asyncio+uvloop] tests/test_taskgroups.py::test_start_parent_id[trio] tests/test_taskgroups.py::test_cancel_before_entering_task_group[asyncio] tests/test_taskgroups.py::test_cancel_before_entering_task_group[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_before_entering_task_group[trio] tests/test_taskgroups.py::test_reraise_cancelled_in_excgroup[asyncio] tests/test_taskgroups.py::test_reraise_cancelled_in_excgroup[asyncio+uvloop] tests/test_taskgroups.py::test_reraise_cancelled_in_excgroup[trio] tests/test_taskgroups.py::test_cancel_child_task_when_host_is_shielded[asyncio] tests/test_taskgroups.py::test_cancel_child_task_when_host_is_shielded[asyncio+uvloop] tests/test_taskgroups.py::test_cancel_child_task_when_host_is_shielded[trio]