"tests/scripts",
"tests/test_conninfo.py",
"tests/test_dns*",
+ "tests/test_prepared*.py",
"tests/test_psycopg_dbapi20.py",
"tests/test_sql.py",
"tests/types",
conn.execute(f"select {i}")
assert len(conn._prepared._prepared) == 5
- for i in [9, 8, 7, 6, "'a'"]:
- name = conn._prepared._prepared[f"select {i}".encode(), ()]
+ for j in [9, 8, 7, 6, "'a'"]:
+ name = conn._prepared._prepared[f"select {j}".encode(), ()]
assert name.startswith(b"_pg3_")
cur = conn.execute(
await aconn.execute(f"select {i}")
assert len(aconn._prepared._prepared) == 5
- for i in [9, 8, 7, 6, "'a'"]:
+ for j in [9, 8, 7, 6, "'a'"]:
assert aconn._prepared._prepared[
- f"select {i}".encode(), ()
+ f"select {j}".encode(), ()
].startswith(b"_pg3_")
cur = await aconn.execute(