code: def test_shgo_local_solver(minimizer_Alpine02):
      """Test SHGO algorithm with local solver."""
      min_kws = {"method": "unknown"}
      with pytest.raises(KeyError, match=r"unknown"):
          minimizer_Alpine02.minimize(
              method="shgo", minimizer_kwargs=min_kws
          )
  
file_path: lmfit-py/tests/test_shgo.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import scipy
  import lmfit
label_desc: Use image node_id 9 for calling a global function with example usage: test_shgo_local_solver(minimizer_Alpine02) without return types