code: def test_is_produced_by_factory(self):
      cur = self.con.cursor(factory=MyCursor)
      cur.execute("select 4+5 as foo")
      row = cur.fetchone()
      self.assertIsInstance(row, dict)
      cur.close()
  
imports: import unittest
  import sqlite3
  from collections.abc import Sequence
  from .util import memory_database
  from .util import MemoryDatabaseMixin
label_desc: Use image node_id 1 for calling the RowFactoryTestsBackwardsCompat obj's underlying member method code with example usage: obj.test_is_produced_by_factory() without return types