code: def test_fromrecords(self):
      r = np.rec.fromrecords(
          [[456, "dbe", 1.2], [2, "de", 1.3]], names="col1,col2,col3"
      )
      assert_equal(r[0].item(), (456, "dbe", 1.2))
      assert_equal(r["col1"].dtype.kind, "i")
      assert_equal(r["col2"].dtype.kind, "U")
      assert_equal(r["col2"].dtype.itemsize, 12)
      assert_equal(r["col3"].dtype.kind, "f")
  
imports: import collections.abc
  import textwrap
  from io import BytesIO
  from os import path
  from pathlib import Path
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, temppath
  from numpy.compat import pickle
label_desc: Use image node_id 1 for calling the TestFromrecords obj's underlying member method code with example usage: obj.test_fromrecords() without return types