diff --git a/tractor/_testing/pytest.py b/tractor/_testing/pytest.py index eb730cf4..b60918e7 100644 --- a/tractor/_testing/pytest.py +++ b/tractor/_testing/pytest.py @@ -429,7 +429,7 @@ def _reap_orphaned_subactors(): @pytest.fixture -def reap_subactors_per_test(): +def reap_subactors_per_test() -> int: ''' Per-test (function-scoped) zombie-subactor reaper — **opt-in**, NOT autouse. @@ -467,7 +467,7 @@ def reap_subactors_per_test(): ''' import os parent_pid: int = os.getpid() - yield + yield parent_pid from tractor._testing._reap import ( find_descendants, reap,