code: def test_from_records_misc_brokenness2(self):
      # GH#2623
      rows = []
      rows.append([datetime(2010, 1, 1), 1])
      rows.append(
          [datetime(2010, 1, 2), "hi"]
      )  # test col upconverts to obj
      result = DataFrame.from_records(rows, columns=["date", "test"])
      expected = DataFrame(
          {
              "date": [row[0] for row in rows],
              "test": [row[1] for row in rows],
          }
      )
      tm.assert_frame_equal(result, expected)
      assert result.dtypes["test"] == np.dtype(object)
  
imports: from collections.abc import Iterator
  from datetime import datetime
  from decimal import Decimal
  import numpy
  import pytest
  import pytz
  from pandas._config import using_pyarrow_string_dtype
  from pandas.compat import is_platform_little_endian
  from pandas import CategoricalIndex, DataFrame, Index, Interval, RangeIndex, Series, date_range
  import pandas._testing
label_desc: Use image node_id 23 for calling the TestFromRecords obj's underlying member method code with example usage: obj.test_from_records_misc_brokenness2() without return types