code: def test_ampgo_disp_true(minimizer_Alpine02, capsys):
      """Test AMPGO algorithm with disp is True."""
      # disp to False for L-BFGS-B to avoid too much output...
      kws = {"disp": True, "local_opts": {"disp": False}}
      minimizer_Alpine02.minimize(method="ampgo", **kws)
      captured = capsys.readouterr()
      assert "Starting MINIMIZATION Phase" in captured.out
  
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 3 for calling a global function with example usage: test_ampgo_disp_true(minimizer_Alpine02, capsys) without return types