code: def test_pyodbc_rows_to_tuples(self):
      # Test for case when pyodbc.Row is returned (odbc driver)
      data = [
          Row(
              (
                  1,
                  1,
                  datetime.datetime(2017, 10, 19, 23, 39, 16, 660000),
              )
          ),
          Row(
              (
                  2,
                  2,
                  datetime.datetime(2018, 10, 19, 23, 39, 16, 660000),
              )
          ),
      ]
      expected = [
          (1, 1, datetime.datetime(2017, 10, 19, 23, 39, 16, 660000)),
          (2, 2, datetime.datetime(2018, 10, 19, 23, 39, 16, 660000)),
      ]
      result = BaseEngineSpec.pyodbc_rows_to_tuples(data)
      self.assertListEqual(result, expected)
  
imports: import datetime
  from unittest import mock
  import pytest
  from superset.connectors.sqla.models import TableColumn
  from superset.db_engine_specs import load_engine_specs
  from superset.db_engine_specs.base import BaseEngineSpec, BasicParametersMixin, builtin_time_grains, LimitMethod
  from superset.db_engine_specs.mysql import MySQLEngineSpec
  from superset.db_engine_specs.sqlite import SqliteEngineSpec
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from superset.sql_parse import ParsedQuery
  from superset.utils.database import get_example_database
  from tests.integration_tests.db_engine_specs.base_tests import TestDbEngineSpec
  from tests.integration_tests.test_app import app
  from ..fixtures.birth_names_dashboard import load_birth_names_dashboard_with_slices, load_birth_names_data
  from ..fixtures.energy_dashboard import load_energy_table_data, load_energy_table_with_slice
  from ..fixtures.pyodbcRow import Row
label_desc: Use image node_id 20 for calling the TestDbEngineSpecs obj's underlying member method code with example usage: obj.test_pyodbc_rows_to_tuples() without return types