code: def testParseCommandsWithBrackets(self):
      command = "pt foo[1, 2, :]"
      self.assertEqual(
          ["pt", "foo[1, 2, :]"], command_parser.parse_command(command)
      )
      command = "pt  foo[1, 2, :]   -a"
      self.assertEqual(
          ["pt", "foo[1, 2, :]", "-a"],
          command_parser.parse_command(command),
      )
  
      command = "inject_value foo [1, 2,:] 0"
      self.assertEqual(
          ["inject_value", "foo", "[1, 2,:]", "0"],
          command_parser.parse_command(command),
      )
  
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 ParseCommandTest obj's underlying member method code with example usage: obj.testParseCommandsWithBrackets() without return types