class_docstr: Test that all type conversions are working.
class_docstr_tok: ["Test","that","all","type","conversions","are","working","."]
code: def testArrayOfNulls(self):
      curs = self.conn.cursor()
      curs.execute(
          """
              create table na (
                texta text[],
                inta int[],
                boola boolean[],
  
                textaa text[][],
                intaa int[][],
                boolaa boolean[][]
              )"""
      )
  
      curs.execute("insert into na (texta) values (%s)", ([None],))
      curs.execute("insert into na (texta) values (%s)", (["a", None],))
      curs.execute(
          "insert into na (texta) values (%s)", ([None, None],)
      )
      curs.execute("insert into na (inta) values (%s)", ([None],))
      curs.execute("insert into na (inta) values (%s)", ([42, None],))
      curs.execute("insert into na (inta) values (%s)", ([None, None],))
      curs.execute("insert into na (boola) values (%s)", ([None],))
      curs.execute(
          "insert into na (boola) values (%s)", ([True, None],)
      )
      curs.execute(
          "insert into na (boola) values (%s)", ([None, None],)
      )
  
      curs.execute("insert into na (textaa) values (%s)", ([[None]],))
      curs.execute(
          "insert into na (textaa) values (%s)", ([["a", None]],)
      )
      curs.execute(
          "insert into na (textaa) values (%s)", ([[None, None]],)
      )
  
      curs.execute("insert into na (intaa) values (%s)", ([[None]],))
      curs.execute(
          "insert into na (intaa) values (%s)", ([[42, None]],)
      )
      curs.execute(
          "insert into na (intaa) values (%s)", ([[None, None]],)
      )
  
      curs.execute("insert into na (boolaa) values (%s)", ([[None]],))
      curs.execute(
          "insert into na (boolaa) values (%s)", ([[True, None]],)
      )
      curs.execute(
          "insert into na (boolaa) values (%s)", ([[None, None]],)
      )
  
imports: import string
  import ctypes
  import decimal
  import datetime
  import platform
  from .None import testutils
  import unittest
  from .testutils import ConnectingTestCase, restore_types
  from .testutils import skip_if_crdb
  import psycopg2
  from psycopg2.extensions import AsIs, adapt, register_adapter
label_desc: Use image node_id 23 for calling the TypesBasicTests obj's underlying member method code with example usage: obj.testArrayOfNulls() without return types