code: def test_keyword_args(self):
      # Test invoking int() using keyword arguments.
      self.assertEqual(int("100", base=2), 4)
      with self.assertRaisesRegex(TypeError, "keyword argument"):
          int(x=1.2)
      with self.assertRaisesRegex(TypeError, "keyword argument"):
          int(x="100", base=2)
      self.assertRaises(TypeError, int, base=10)
      self.assertRaises(TypeError, int, base=0)
  
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 7 for calling the IntTestCases obj's underlying member method code with example usage: obj.test_keyword_args() without return types