code: def test_byview(self):
      # Test creation by view
      base = self.base
      mbase = base.view(mrecarray)
      assert_equal(mbase.recordmask, base.recordmask)
      assert_equal_records(mbase._mask, base._mask)
      assert_(isinstance(mbase._data, recarray))
      assert_equal_records(mbase._data, base._data.view(recarray))
      for field in ("a", "b", "c"):
          assert_equal(base[field], mbase[field])
      assert_equal_records(mbase.view(mrecarray), mbase)
  
imports: import pickle
  import numpy
  import numpy.ma
  from numpy.ma import masked, nomask
  from numpy.testing import temppath
  from numpy._core.records import recarray, fromrecords, fromarrays
  from numpy.ma.mrecords import MaskedRecords, mrecarray, fromarrays, fromtextfile, fromrecords, addfield
  from numpy.ma.testutils import assert_, assert_equal, assert_equal_records
label_desc: Use image node_id 1 for calling the TestMRecords obj's underlying member method code with example usage: obj.test_byview() without return types