code: def test_statement_finalization_on_close_db(self):
      # pysqlite versions <= 2.3.3 only finalized statements in the statement
      # cache when closing the database. statements that were still
      # referenced in cursors weren't closed and could provoke "
      # "OperationalError: Unable to close due to unfinalised statements".
      cursors = []
      # default statement cache size is 100
      for i in range(105):
          cur = self.con.cursor()
          cursors.append(cur)
          cur.execute("select 1 x union select " + str(i))
  
imports: import datetime
  import unittest
  import sqlite3
  import weakref
  import functools
  from test import support
  from unittest.mock import patch
  from .util import memory_database, cx_limit
  from .util import MemoryDatabaseMixin
label_desc: Use image node_id 5 for calling the RegressionTests obj's underlying member method code with example usage: obj.test_statement_finalization_on_close_db() without return types