def METHOD_NAME(self):
    """
    Checks if cursors on the connection are set into a "reset" state
    when a rollback is done on the connection.
    """
    con = sqlite.connect(":memory:")
    cur = con.cursor()
    cur.execute("create table test(x)")
    cur.execute("insert into test(x) values (5)")
    cur.execute("select 1 union select 2 union select 3")
    con.rollback()
    with self.assertRaises(sqlite.InterfaceError):
        cur.fetchall()