code: def test_scroll(self):
      cur = self.sync_conn.cursor()
      cur.execute("create table table1 (id int)")
      cur.execute(
          """
              insert into table1 values (1);
              insert into table1 values (2);
              insert into table1 values (3);
          """
      )
      cur.execute("select id from table1 order by id")
      cur.scroll(2)
      cur.scroll(-1)
      self.assertEquals(cur.fetchall(), [(2,), (3,)])
  
imports: import gc
  import time
  import unittest
  import warnings
  import psycopg2
  import psycopg2.errors
  from psycopg2 import extensions
  from .testutils import ConnectingTestCase, StringIO, skip_before_postgres, skip_if_crdb, crdb_version, slow
label_desc: Use image node_id 17 for calling the AsyncTests obj's underlying member method code with example usage: obj.test_scroll() without return types