code: def test_recarray_from_names(self):
      ra = np.rec.array(
          [
              (1, "abc", 3.7000002861022949, 0),
              (2, "xy", 6.6999998092651367, 1),
              (0, " ", 0.40000000596046448, 0),
          ],
          names="c1, c2, c3, c4",
      )
      pa = np.rec.fromrecords(
          [
              (1, "abc", 3.7000002861022949, 0),
              (2, "xy", 6.6999998092651367, 1),
              (0, " ", 0.40000000596046448, 0),
          ],
          names="c1, c2, c3, c4",
      )
      assert_(ra.dtype == pa.dtype)
      assert_(ra.shape == pa.shape)
      for k in range(len(ra)):
          assert_(ra[k].item() == pa[k].item())
  
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 14 for calling the TestFromrecords obj's underlying member method code with example usage: obj.test_recarray_from_names() without return types