code: def testParseInvalidIndicesStringsWithoutBrackets(self):
      with self.assertRaisesRegex(
          ValueError, r"invalid literal for int\(\) with base 10: 'a'"
      ):
          self.assertEqual([0], command_parser.parse_indices("0,a"))
  
      with self.assertRaisesRegex(
          ValueError, r"invalid literal for int\(\) with base 10: '2\]'"
      ):
          self.assertEqual([0], command_parser.parse_indices("1, 2]"))
  
      with self.assertRaisesRegex(
          ValueError, r"invalid literal for int\(\) with base 10: ''"
      ):
          self.assertEqual([0], command_parser.parse_indices("3, 4,"))
  
imports: import sys
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the ParseIndicesTest obj's underlying member method code with example usage: obj.testParseInvalidIndicesStringsWithoutBrackets() without return types