code: def setUp(self):
      ConnectingTestCase.setUp(self)
  
      skip_if_crdb("cancel", self.conn)
  
      cur = self.conn.cursor()
      cur.execute(
          """
              CREATE TEMPORARY TABLE table1 (
                id int PRIMARY KEY
              )"""
      )
      self.conn.commit()
  
file_path: psycopg2/tests/test_cancel.py
imports: import time
  import threading
  import psycopg2
  import psycopg2.extensions
  from psycopg2 import extras
  from .testconfig import dsn
  import unittest
  from .testutils import ConnectingTestCase, skip_before_postgres, slow
  from .testutils import skip_if_crdb
label_desc: Use image node_id 1 for calling the CancelTests obj's underlying member method code with example usage: obj.setUp() without return types