code: def test_brute_one_parameter(params_lmfit):
      """TEST 9: only one varying parameter."""
      params_lmfit["x"].set(vary=False)
      mini = lmfit.Minimizer(func_lmfit, params_lmfit)
      out = mini.minimize(method="brute")
      assert out.candidates[0].score <= out.candidates[1].score
      assert isinstance(out.candidates[0], lmfit.minimizer.Candidate)
      assert isinstance(out.candidates[0].params, lmfit.Parameters)
      assert isinstance(out.candidates[0].score, float)
  
imports: import pickle
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  import pytest
  from scipy import optimize
  import lmfit
label_desc: Use image node_id 12 for calling a global function with example usage: test_brute_one_parameter(params_lmfit) without return types