MCPcopy
hub / github.com/psycopg/psycopg / test_nextset

Function test_nextset

tests/test_cursor_server.py:343–346  ·  view source on GitHub ↗
(conn)

Source from the content-addressed store, hash-verified

341
342
343def test_nextset(conn):
344 with conn.cursor("foo") as cur:
345 cur.execute(ph(cur, "select generate_series(1, %s) as bar"), (3,))
346 assert not cur.nextset()
347
348
349def test_no_result(conn):

Callers

nothing calls this directly

Calls 4

phFunction · 0.85
nextsetMethod · 0.80
cursorMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected