code: def test_minimize_scipy_nm():
      func = fit_funcs["minimize"]
      xopt, _ = func(
          dummy_bounds_constraint_func,
          None,
          (3, 4.5),
          (),
          {
              "min_method": "Nelder-Mead",
              "bounds": dummy_bounds_tight(),
          },
          hess=None,
          full_output=False,
          disp=0,
      )
      assert_almost_equal(xopt, [2, 3.5], 4)
  
file_path: statsmodels/statsmodels/base/tests/test_optimize.py
imports: from statsmodels.compat.scipy import SP_LT_15, SP_LT_17
  import pytest
  from numpy.testing import assert_
  from numpy.testing import assert_almost_equal
  from statsmodels.base.optimizer import _fit_newton, _fit_nm, _fit_bfgs, _fit_cg, _fit_ncg, _fit_powell, _fit_lbfgs, _fit_basinhopping, _fit_minimize
label_desc: Use image node_id 12 for calling a global function with example usage: test_minimize_scipy_nm() without return types