code: def test_getnamespace_locals(self):
      def called_fn():
          return 0
  
      closed_over_list = []
      closed_over_primitive = 1
  
      def local_fn():
          closed_over_list.append(1)
          local_var = 1
          return called_fn() + local_var + closed_over_primitive
  
      ns = inspect_utils.getnamespace(local_fn)
      self.assertEqual(ns["called_fn"], called_fn)
      self.assertEqual(ns["closed_over_list"], closed_over_list)
      self.assertEqual(
          ns["closed_over_primitive"], closed_over_primitive
      )
      self.assertTrue("local_var" not in ns)
  
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 16 for calling the InspectUtilsTest obj's underlying member method code with example usage: obj.test_getnamespace_locals() and returns: int, unknown