code: def testParseSingleRange(self):
      self.assertAllClose(
          [[-0.1, 0.2]], command_parser.parse_ranges("[-0.1, 0.2]")
      )
      self.assertAllClose(
          [[-0.1, self.INF_VALUE]],
          command_parser.parse_ranges("[-0.1, inf]"),
      )
      self.assertAllClose(
          [[-self.INF_VALUE, self.INF_VALUE]],
          command_parser.parse_ranges("[-inf, inf]"),
      )
  
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 2 for calling the ParseRangesTest obj's underlying member method code with example usage: obj.testParseSingleRange() without return types