code: def test_isinstance_abstract(self):
      # abstract instances
      self.assertEqual(True, isinstance(AbstractSuper(), AbstractSuper))
      self.assertEqual(
          False, isinstance(AbstractSuper(), AbstractChild)
      )
      self.assertEqual(False, isinstance(AbstractSuper(), Super))
      self.assertEqual(False, isinstance(AbstractSuper(), Child))
  
      self.assertEqual(True, isinstance(AbstractChild(), AbstractChild))
      self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper))
      self.assertEqual(False, isinstance(AbstractChild(), Super))
      self.assertEqual(False, isinstance(AbstractChild(), Child))
  
imports: import unittest
  import typing
  from test import support
label_desc: Use image node_id 2 for calling the TestIsInstanceIsSubclass obj's underlying member method code with example usage: obj.test_isinstance_abstract() without return types