code: def test_int_base_indexable(self):
      class MyIndexable(object):
          def __init__(self, value):
              self.value = value
  
          def __index__(self):
              return self.value
  
      # Check out of range bases.
      for base in 2**100, -(2**100), 1, 37:
          with self.assertRaises(ValueError):
              int("43", base)
  
      # Check in-range bases.
      self.assertEqual(int("101", base=MyIndexable(2)), 5)
      self.assertEqual(int("101", base=MyIndexable(10)), 101)
      self.assertEqual(int("101", base=MyIndexable(36)), 1 + 36**2)
  
imports: import sys
  import time
  import unittest
  from unittest import mock
  from test import support
  from test.test_grammar import VALID_UNDERSCORE_LITERALS, INVALID_UNDERSCORE_LITERALS
label_desc: Use image node_id 10 for calling the IntTestCases obj's underlying member method code with example usage: obj.test_int_base_indexable() and returns: self