code: def test_large_sql(self):
      msg = "query string is too large"
      with memory_database() as cx, cx_limit(cx) as lim:
          cu = cx.cursor()
  
          cx("select 1".ljust(lim))
          # use a different SQL statement; don't reuse from the LRU cache
          cu.execute("select 2".ljust(lim))
  
          sql = "select 3".ljust(lim + 1)
          self.assertRaisesRegex(sqlite.DataError, msg, cx, sql)
          self.assertRaisesRegex(sqlite.DataError, msg, cu.execute, sql)
  
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 26 for calling the RegressionTests obj's underlying member method code with example usage: obj.test_large_sql() without return types