code: def test_repeated_picking(self, ray_start_regular_shared):
      # Test that we can repeatedly pick the same actor.
      pool = _ActorPool(max_tasks_in_flight=999)
      actor = self._add_ready_worker(pool)
      for _ in range(10):
          picked_actor = pool.pick_actor()
          assert picked_actor == actor
  
imports: import collections
  import time
  import pytest
  import ray
  from ray.data._internal.compute import ActorPoolStrategy
  from ray.data._internal.execution.operators.actor_pool_map_operator import AutoscalingConfig, AutoscalingPolicy, _ActorPool
  from ray.data._internal.execution.util import make_ref_bundles
  from ray.tests.conftest import *
label_desc: Use image node_id 4 for calling the TestActorPool obj's underlying member method code with example usage: obj.test_repeated_picking(ray_start_regular_shared) without return types