code: def test_getmethodclass_locals(self):
      def local_function():
          pass
  
      class LocalClass(object):
          def member_function(self):
              pass
  
          @decorator
          def decorated_member(self):
              pass
  
          @function_decorator()
          def fn_decorated_member(self):
              pass
  
          @wrapping_decorator()
          def wrap_decorated_member(self):
              pass
  
      self.assertEqual(
          inspect_utils.getmethodclass(local_function), None
      )
  
      self.assertEqual(
          inspect_utils.getmethodclass(LocalClass.member_function),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(LocalClass.decorated_member),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(LocalClass.fn_decorated_member),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(
              LocalClass.wrap_decorated_member
          ),
          LocalClass,
      )
  
      test_obj = LocalClass()
      self.assertEqual(
          inspect_utils.getmethodclass(test_obj.member_function),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(test_obj.decorated_member),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(test_obj.fn_decorated_member),
          LocalClass,
      )
      self.assertEqual(
          inspect_utils.getmethodclass(test_obj.wrap_decorated_member),
          LocalClass,
      )
  
imports: import abc
  import collections
  import functools
  import imp
  import textwrap
  import unittest
  import six
  from nvidia.dali._autograph.pyct import inspect_utils
  from nvidia.dali._autograph.pyct.testing import basic_definitions
  from nvidia.dali._autograph.pyct.testing import decorators
label_desc: Use image node_id 21 for calling the InspectUtilsTest obj's underlying member method code with example usage: obj.test_getmethodclass_locals() without return types