Skip to content

The agent that grows with you

fix(tests): keep the leak registry in hermes_state_guard and skip shared handles

teknium1d12cec183303
diff --git a/hermes_state.py b/hermes_state.py
index 96400097ab2..a977424915a 100644
--- a/hermes_state.py
+++ b/hermes_state.py
@@ -37,7 +37,7 @@ from hermes_state_errors import (
)
from hermes_state_guard import (
_STATE_DB_GUARD_BYPASS_ENV, _in_test_context, _is_production_state_db, _real_platform_state_root,
- _register_test_instance, _set_last_init_error, _test_instance_registry, get_last_init_error,
+ _register_test_instance, _set_last_init_error, get_last_init_error,
)
from hermes_state_readpool import _READ_POOL_MAX, _proc_fd_targets, _read_budget_for
from hermes_state_sessions import SessionSessionsMixin