assert cur.fetchall() == []
+@pytest.mark.crdb_skip("scroll cursor")
def test_row_factory(conn):
n = 0
cur.close()
+@pytest.mark.crdb_skip("scroll cursor")
def test_scroll(conn):
cur = conn.cursor("tmp", scrollable=True)
cur.execute("select generate_series(0,9)")
cur.close()
+@pytest.mark.crdb_skip("scroll cursor")
def test_scrollable(conn):
curs = conn.cursor("foo", scrollable=True)
assert curs.scrollable is True
curs.fetchone()
+@pytest.mark.crdb_skip("cursor with hold")
def test_hold(conn):
with conn.cursor("foo", withhold=True) as curs:
assert curs.withhold is True
assert (await cur.fetchall()) == []
+@pytest.mark.crdb_skip("scroll cursor")
async def test_row_factory(aconn):
n = 0
await cur.close()
+@pytest.mark.crdb_skip("scroll cursor")
async def test_scroll(aconn):
cur = aconn.cursor("tmp", scrollable=True)
await cur.execute("select generate_series(0,9)")
await cur.close()
+@pytest.mark.crdb_skip("scroll cursor")
async def test_scrollable(aconn):
curs = aconn.cursor("foo", scrollable=True)
assert curs.scrollable is True
await curs.fetchone()
+@pytest.mark.crdb_skip("cursor with hold")
async def test_hold(aconn):
async with aconn.cursor("foo", withhold=True) as curs:
assert curs.withhold is True