From fbf4aeaf98333f45340d3e05faecfbfde7aa659e Mon Sep 17 00:00:00 2001 From: yoniebans Date: Sat, 14 Nov 2026 21:03:54 +0100 Subject: [PATCH] test(persistence/sqlite): spell the schema-statement match with re.DOTALL The repository's ruff rule FURB167 refuses the re.S alias in the resumable_subagents schema case. --- .../authority/test_coordination_subagents.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/persistence_sqlite/authority/test_coordination_subagents.py b/tests/persistence_sqlite/authority/test_coordination_subagents.py index 3da971a1e0..6a7718b51e 100644 --- a/tests/persistence_sqlite/authority/test_coordination_subagents.py +++ b/tests/persistence_sqlite/authority/test_coordination_subagents.py @@ -19,7 +19,8 @@ def _columns(conn: sqlite3.Connection) -> list[tuple]: def _main_columns() -> list[tuple]: - statement = re.search(r"CREATE TABLE IF NOT EXISTS resumable_subagents \(.*?\);", hermes_state_common.SCHEMA_SQL, re.S) + statement = re.search(r"CREATE TABLE IF NOT EXISTS resumable_subagents \(.*?\);", hermes_state_common.SCHEMA_SQL, + re.DOTALL) assert statement is not None with sqlite3.connect(":memory:") as conn: conn.execute(statement.group(0))