code: def checkpoint_paths(tmp_path):
      checkpoint_paths = []
      for i in range(10):
          checkpoint_path = tmp_path / f"ckpt_{i}"
          checkpoint_path.mkdir()
          (checkpoint_path / "dummy.txt").write_text(f"{i}")
          checkpoint_paths.append(checkpoint_path)
  
      yield [str(path) for path in checkpoint_paths]
  
file_path: ray/python/ray/train/tests/test_checkpoint_manager.py
imports: import random
  from pathlib import Path
  from typing import List
  import pytest
  from ray.train import Checkpoint, CheckpointConfig
  from ray.train._internal.checkpoint_manager import _CheckpointManager, _TrainingResult
label_desc: Use image node_id 1 for calling a global function with example usage: checkpoint_paths(tmp_path) without return types