code: def test_delete_runs(
      builder: EnsembleBuilder, make_run: Callable[..., Run]
  ) -> None:
      """
      Expects
      -------
      * Should delete runs so they can not be found again by the ensemble builder
      """
      runs = [make_run(backend=builder.backend) for _ in range(5)]
      assert all(run.dir.exists() for run in runs)
  
      builder.delete_runs(runs)
      assert not any(run.dir.exists() for run in runs)
  
      loaded = builder.available_runs()
      assert len(loaded) == 0
  
imports: from __future__ import annotations
  from typing import Callable
  import random
  import time
  from pathlib import Path
  import numpy
  from autosklearn.automl_common.common.utils.backend import Backend
  from autosklearn.ensemble_building import EnsembleBuilder, Run
  from autosklearn.metrics import Scorer, accuracy, make_scorer
  from autosklearn.util.functional import bound, pairs
  import pytest
  from pytest_cases import fixture, parametrize
  from unittest.mock import Mock, patch
  from test.conftest import DEFAULT_SEED
  from test.fixtures.metrics import acc_with_X_data
label_desc: Use image node_id 22 for calling a global function with example usage: test_delete_runs(builder, make_run) without return types