From fcc845f00db85a3d8d2cc09704dc7dd21dc0186c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 8 Jul 2026 12:21:52 +0000 Subject: [PATCH] Drop a stale type-ignore in test_rust_dbapi `Cursor.fetchone` is annotated `-> Any` on this branch, so mypy flags the ignore as unused and CI's lint would fail. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019ZdvuLkg7Lm7wDtPQzDnJx --- tests/storage/test_rust_dbapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/storage/test_rust_dbapi.py b/tests/storage/test_rust_dbapi.py index bbbc67cfac..d2b874af5e 100644 --- a/tests/storage/test_rust_dbapi.py +++ b/tests/storage/test_rust_dbapi.py @@ -336,7 +336,7 @@ class RustDBAPIAdapterTestCase(unittest.TestCase): def backend_pid(conn: rust_dbapi.Connection) -> int: cursor = conn.cursor() cursor.execute("SELECT pg_backend_pid()") - (pid,) = cursor.fetchone() # type: ignore[misc] + (pid,) = cursor.fetchone() conn.commit() return pid