code: def test_infinite_recursion_in_bases(self):
      class X:
          @property
          def __bases__(self):
              return self.__bases__
  
      with support.infinite_recursion(25):
          self.assertRaises(RecursionError, issubclass, X(), int)
          self.assertRaises(RecursionError, issubclass, int, X())
          self.assertRaises(RecursionError, isinstance, 1, X())
  
imports: import unittest
  import typing
  from test import support
label_desc: Use image node_id 11 for calling the TestIsInstanceIsSubclass obj's underlying member method code with example usage: obj.test_infinite_recursion_in_bases() and returns: self