code: def testWithAnonymousArrayIndices(self):
      a = proto_diff.ProtoPath(("observation", "actions"))
      b = proto_diff.ProtoPath(("observation", "actions", 1))
      c = proto_diff.ProtoPath(("observation", "actions", 2))
      self.assertEqual(str(a), "observation.actions")
      self.assertEqual(
          str(b.with_anonymous_array_indices()),
          "observation.actions[*]",
      )
      self.assertEqual(
          b.with_anonymous_array_indices(),
          c.with_anonymous_array_indices(),
      )
  
imports: from absl.testing import absltest
  from pysc2.lib import proto_diff
  from s2clientprotocol import sc2api_pb2
  from s2clientprotocol import score_pb2
label_desc: Use image node_id 10 for calling the ProtoPathTest obj's underlying member method code with example usage: obj.testWithAnonymousArrayIndices() without return types