code: def test_type(self):
      x = np.array([1, 2, 3])
      assert_(isinstance(x.view(np.matrix), np.matrix))
  
imports: import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal
label_desc: Use image node_id 1 for calling the TestView obj's underlying member method code with example usage: obj.test_type() without return types