At the moment the output text is actually skipped but it will run once
text input is no more xfailed.
n = []
for i in range(3):
with psycopg3.connect(dsn) as conn:
- with conn.cursor(binary=True, row_factory=row_factory) as cur:
+ with conn.cursor(
+ binary=fmt == Format.BINARY, row_factory=row_factory
+ ) as cur:
cur.execute(faker.drop_stmt)
cur.execute(faker.create_stmt)
cur.executemany(faker.insert_stmt, faker.records)
for i in range(3):
async with await psycopg3.AsyncConnection.connect(dsn) as conn:
async with conn.cursor(
- binary=True, row_factory=row_factory
+ binary=fmt == Format.BINARY, row_factory=row_factory
) as cur:
await cur.execute(faker.drop_stmt)
await cur.execute(faker.create_stmt)