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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ZdvuLkg7Lm7wDtPQzDnJx
This commit is contained in:
Erik JohnstonandClaude Fable 5 committed 2026-10-12 18:31:06 +00:00
1 parent 4626c659f5
commit 8e4932ded5
1 file changed
+1 -1
+1 -1
View File
@@ -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