code: def test_wrong_metric_raises_valueerror():
      (
          ground_truth_map,
          retrieve_map,
      ) = return_ground_all_correct_retrievals()
      with pytest.raises(ValueError):
          evaluate(ground_truth_map, retrieve_map, metric="bla")
  
file_path: imagededup/tests/test_evaluator.py
imports: import pytest
  import numpy
  from imagededup.evaluation.evaluation import evaluate, _check_map_correctness, _transpose_checker
label_desc: Use image node_id 8 for calling a global function with example usage: test_wrong_metric_raises_valueerror() without return types