Mv `test_subint_cancellation.py` to `tests/spawn/` subpkg
Also, some slight touchups in `.spawn._subint`.
parent
4425023500
commit
6720c3bbb3
|
|
@ -123,7 +123,6 @@ if TYPE_CHECKING:
|
||||||
from tractor.discovery._addr import UnwrappedAddress
|
from tractor.discovery._addr import UnwrappedAddress
|
||||||
from tractor.ipc import (
|
from tractor.ipc import (
|
||||||
_server,
|
_server,
|
||||||
Channel,
|
|
||||||
)
|
)
|
||||||
from tractor.runtime._runtime import Actor
|
from tractor.runtime._runtime import Actor
|
||||||
from tractor.runtime._supervise import ActorNursery
|
from tractor.runtime._supervise import ActorNursery
|
||||||
|
|
@ -431,5 +430,3 @@ async def subint_proc(
|
||||||
finally:
|
finally:
|
||||||
if not cancelled_during_spawn:
|
if not cancelled_during_spawn:
|
||||||
actor_nursery._children.pop(uid, None)
|
actor_nursery._children.pop(uid, None)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue