code: def test_function_info(self):
      func = self.spam
      self.assertEqual(
          sorted(func.get_parameters()), ["a", "b", "kw", "var"]
      )
      expected = [
          "a",
          "b",
          "internal",
          "kw",
          "other_internal",
          "some_var",
          "var",
          "x",
      ]
      self.assertEqual(sorted(func.get_locals()), expected)
      self.assertEqual(
          sorted(func.get_globals()),
          ["bar", "glob", "some_assigned_global_var"],
      )
      self.assertEqual(self.internal.get_frees(), ("x",))
  
imports: import symtable
  import unittest
  from test import support
  from test.support import os_helper
label_desc: Use image node_id 7 for calling the SymtableTest obj's underlying member method code with example usage: obj.test_function_info() without return types