docstr: Regression test for bpo-30570.
docstr_tok: ["Regression","test","for","bpo-30570","."]
code: def test_infinite_cycle_in_bases(self):
      """Regression test for bpo-30570."""
  
      class X:
          @property
          def __bases__(self):
              return (self, self, self)
  
      with support.infinite_recursion():
          self.assertRaises(RecursionError, issubclass, X(), int)
  
imports: import unittest
  import typing
  from test import support
label_desc: Use image node_id 13 for calling the TestIsInstanceIsSubclass obj's underlying member method code with example usage: obj.test_infinite_cycle_in_bases() and returns: self,  self,  self