code: def test_dump_virtual_tables(self):
      # gh-64662
      expected = [
          "BEGIN TRANSACTION;",
          "PRAGMA writable_schema=ON;",
          (
              "INSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)"
              "VALUES('table','test','test',0,'CREATE VIRTUAL TABLE test USING fts4(example)');"
          ),
          "CREATE TABLE 'test_content'(docid INTEGER PRIMARY KEY, 'c0example');",
          "CREATE TABLE 'test_docsize'(docid INTEGER PRIMARY KEY, size BLOB);",
          (
              "CREATE TABLE 'test_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,"
              "leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx));"
          ),
          "CREATE TABLE 'test_segments'(blockid INTEGER PRIMARY KEY, block BLOB);",
          "CREATE TABLE 'test_stat'(id INTEGER PRIMARY KEY, value BLOB);",
          "PRAGMA writable_schema=OFF;",
          "COMMIT;",
      ]
      self.cu.execute("CREATE VIRTUAL TABLE test USING fts4(example)")
      actual = list(self.cx.iterdump())
      self.assertEqual(expected, actual)
  
file_path: cpython/Lib/test/test_sqlite3/test_dump.py
imports: import unittest
  from .util import memory_database
  from .util import MemoryDatabaseMixin
label_desc: Use image node_id 5 for calling the DumpTests obj's underlying member method code with example usage: obj.test_dump_virtual_tables() without return types