code: def test_getmethodclass_no_bool_conversion(self):
      tensor = constant_op.constant([1])
      self.assertEqual(
          inspect_utils.getmethodclass(tensor.get_shape), type(tensor)
      )
  
imports: import abc
  import collections
  import functools
  import textwrap
  import types
  from tensorflow.python import lib
  from tensorflow.python.autograph.pyct import inspect_utils
  from tensorflow.python.autograph.pyct.testing import basic_definitions
  from tensorflow.python.autograph.pyct.testing import decorators
  from tensorflow.python.framework import constant_op
  from tensorflow.python.platform import test
label_desc: Use image node_id 24 for calling the InspectUtilsTest obj's underlying member method code with example usage: obj.test_getmethodclass_no_bool_conversion() without return types