From 8e4932ded55ecd72c2b256375f85cecd1183cda0 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 df76a1d334..5199131945 100644 --- a/tests/storage/test_rust_dbapi.py +++ b/tests/storage/test_rust_dbapi.py @@ -316,7 +316,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