(conn)
| 599 | |
| 600 | |
| 601 | def test_execute_nextset(conn): |
| 602 | cur = conn.cursor() |
| 603 | with conn.pipeline(): |
| 604 | cur.execute("select 1") |
| 605 | cur.execute("select 2") |
| 606 | |
| 607 | assert cur.fetchall() == [(2,)] |
| 608 | assert not cur.nextset() |
| 609 | assert cur.fetchall() == [] |