From 29c90665775cb147ec6965a78accfd493a9a8364 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sat, 22 Aug 2026 04:13:17 +0530 Subject: [PATCH] chore(state): tidy post-salvage residue in state.db durability test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two leftovers from the #91852 descope (integrity-check tests removed but their scaffolding stayed): - Drop the now-unused `import pytest` (orphaned when the verify_state_db_integrity tests that used it were removed; no markers/raises/fixtures remain in this file). - Rename the `# Defect 1:` section label to just `# Repair-path write durability` — the sibling "Defect 2" section was descoped out, leaving the numbering dangling. Test-only, no behavior change. tests/test_state_db_write_durability.py: 4 passed. --- tests/test_state_db_write_durability.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_state_db_write_durability.py b/tests/test_state_db_write_durability.py index eeac5e3e56..ac306d8254 100644 --- a/tests/test_state_db_write_durability.py +++ b/tests/test_state_db_write_durability.py @@ -34,8 +34,6 @@ import sqlite3 import sys from pathlib import Path -import pytest - import hermes_state from hermes_state import ( _connect_repair_durable, @@ -55,7 +53,7 @@ def _make_db(tmp_path: Path) -> Path: return db -# ── Defect 1: repair-path write durability ────────────────────────────── +# ── Repair-path write durability ──────────────────────────────────────── def test_connect_repair_durable_sets_macos_barriers(tmp_path: Path) -> None: