code: def test_attributes_result_errors_1():
      with pytest.raises(ValueError):
          hyper = Hyperactive()
          hyper.add_search(objective_function, search_space, n_iter=15)
          hyper.run()
  
          hyper.best_score(objective_function1)
  
file_path: Hyperactive/tests/test_results_methods.py
imports: import pytest
  import numbers
  import numpy
  import pandas
  from hyperactive import Hyperactive
label_desc: Use image node_id 10 for calling a global function with example usage: test_attributes_result_errors_1() without return types