Skip to content

The agent that grows with you

test(state): plain close() in the FTS corruption fixture teardown

kshitijk4poor609181fd6ed3
diff --git a/tests/hermes_state/test_fts_rebuild_corruption_class.py b/tests/hermes_state/test_fts_rebuild_corruption_class.py
index 711d7195a95..df39c09e376 100644
--- a/tests/hermes_state/test_fts_rebuild_corruption_class.py
+++ b/tests/hermes_state/test_fts_rebuild_corruption_class.py
@@ -24,10 +24,7 @@ def db(tmp_path):
d.create_session("s1", source="test")
d.append_message("s1", "user", "hello world")
yield d
- try:
- d.close()
- except Exception:
- pass
+ d.close()
def _corrupting_execute(match, command="rebuild"):