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