code: def test_sqlite3():
      import sqlite3
  
      def hook(event, *args):
          if event.startswith("sqlite3."):
              print(event, *args)
  
      sys.addaudithook(hook)
      cx1 = sqlite3.connect(":memory:")
      cx2 = sqlite3.Connection(":memory:")
  
      # Configured without --enable-loadable-sqlite-extensions
      try:
          if hasattr(sqlite3.Connection, "enable_load_extension"):
              cx1.enable_load_extension(False)
              try:
                  cx1.load_extension("test")
              except sqlite3.OperationalError:
                  pass
              else:
                  raise RuntimeError(
                      "Expected sqlite3.load_extension to fail"
                  )
      finally:
          cx1.close()
          cx2.close()
  
imports: import contextlib
  import os
  import sys
label_desc: Use image node_id 21 for calling a global function with example usage: test_sqlite3() without return types