code: def test_ampgo_incorrect_length_for_bounds():
      """Test for ValueError when bounds are given for only some parameters."""
  
      def func(x):
          return x[0] ** 2 + 10.0 * x[1]
  
      msg = r"length of x0 != length of bounds"
      with pytest.raises(ValueError, match=msg):
          ampgo(func, x0=[0, 1], bounds=[(-10, 10)])
  
file_path: lmfit-py/tests/test_ampgo.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import lmfit
  from lmfit._ampgo import ampgo, tunnel
label_desc: Use image node_id 10 for calling a global function with example usage: test_ampgo_incorrect_length_for_bounds() and returns: unknown