code: def test_load_bump_with_benchmarks(
      other_empty_database,
      pkl_experiments_and_benchmarks,
      capsys,
      testing_helpers,
  ):
      """Test load all database with benchmarks and --resolve --bump"""
      data_source = pkl_experiments_and_benchmarks
  
      storage, cfg_path = other_empty_database
      loaded_db = storage._db
      testing_helpers.check_empty_db(loaded_db)
  
      # First execution should pass, as destination contains nothing.
      execute(f"db load {data_source} -c {cfg_path}")
      testing_helpers.assert_tested_db_structure(loaded_db)
  
      # New execution should fail, as benchmarks don't currently support bump.
      execute(f"db load {data_source} -r bump", assert_code=1)
      captured = capsys.readouterr()
      assert (
          captured.err.strip()
          == "Error: Can't bump benchmark version, as benchmarks do not currently support versioning."
      )
      # Destination should have not changed.
      testing_helpers.assert_tested_db_structure(loaded_db)
  
file_path: orion/tests/functional/commands/test_db_load.py
imports: import os
  import pytest
  import orion.core.cli
  from orion.core.io.database.pickleddb import PickledDB
  from orion.storage.base import setup_storage
label_desc: Use image node_id 8 for calling a global function with example usage: test_load_bump_with_benchmarks(other_empty_database, pkl_experiments_and_benchmarks, capsys, testing_helpers) without return types