code: def setUp(self):
      ConnectingTestCase.setUp(self)
      curs = self.conn.cursor()
      try:
          curs.execute("delete from test_with")
          self.conn.commit()
      except psycopg2.ProgrammingError:
          # assume table doesn't exist
          self.conn.rollback()
          curs.execute(
              "create table test_with (id integer primary key)"
          )
          self.conn.commit()
  
imports: import psycopg2
  import psycopg2.extensions
  import unittest
  from .testutils import ConnectingTestCase, skip_before_postgres, skip_if_crdb
label_desc: Use image node_id 1 for calling the WithTestCase obj's underlying member method code with example usage: obj.setUp() without return types