From 1e357dcf08c818d6fdda82657b3dae18ebfa63c7 Mon Sep 17 00:00:00 2001 From: goodboy Date: Thu, 23 Apr 2026 11:49:35 -0400 Subject: [PATCH] Mv `test_subint_cancellation.py` to `tests/spawn/` subpkg Also, some slight touchups in `.spawn._subint`. --- tests/{ => spawn}/test_subint_cancellation.py | 0 tractor/spawn/_subint.py | 3 --- 2 files changed, 3 deletions(-) rename tests/{ => spawn}/test_subint_cancellation.py (100%) diff --git a/tests/test_subint_cancellation.py b/tests/spawn/test_subint_cancellation.py similarity index 100% rename from tests/test_subint_cancellation.py rename to tests/spawn/test_subint_cancellation.py diff --git a/tractor/spawn/_subint.py b/tractor/spawn/_subint.py index eea3d00f..de0325b4 100644 --- a/tractor/spawn/_subint.py +++ b/tractor/spawn/_subint.py @@ -123,7 +123,6 @@ if TYPE_CHECKING: from tractor.discovery._addr import UnwrappedAddress from tractor.ipc import ( _server, - Channel, ) from tractor.runtime._runtime import Actor from tractor.runtime._supervise import ActorNursery @@ -431,5 +430,3 @@ async def subint_proc( finally: if not cancelled_during_spawn: actor_nursery._children.pop(uid, None) - -