code: def test_matrix_properties(self):
      # Ticket #125
      a = np.matrix([1.0], dtype=float)
      assert_(type(a.real) is np.matrix)
      assert_(type(a.imag) is np.matrix)
      c, d = np.matrix([0.0]).nonzero()
      assert_(type(c) is np.ndarray)
      assert_(type(d) is np.ndarray)
  
imports: import numpy
  from numpy.testing import assert_, assert_equal, assert_raises
label_desc: Use image node_id 2 for calling the TestRegression obj's underlying member method code with example usage: obj.test_matrix_properties() without return types