code: def test_type(self):
      self.assertEqual(self.top.get_type(), "module")
      self.assertEqual(self.Mine.get_type(), "class")
      self.assertEqual(self.a_method.get_type(), "function")
      self.assertEqual(self.spam.get_type(), "function")
      self.assertEqual(self.internal.get_type(), "function")
      self.assertEqual(self.foo.get_type(), "function")
      self.assertEqual(self.Alias.get_type(), "type alias")
      self.assertEqual(self.GenericAlias.get_type(), "type parameter")
      self.assertEqual(self.GenericAlias_inner.get_type(), "type alias")
      self.assertEqual(self.generic_spam.get_type(), "type parameter")
      self.assertEqual(self.generic_spam_inner.get_type(), "function")
      self.assertEqual(self.GenericMine.get_type(), "type parameter")
      self.assertEqual(self.GenericMine_inner.get_type(), "class")
      self.assertEqual(self.T.get_type(), "TypeVar bound")
  
imports: import symtable
  import unittest
  from test import support
  from test.support import os_helper
label_desc: Use image node_id 1 for calling the SymtableTest obj's underlying member method code with example usage: obj.test_type() without return types