code: def test_emcee_method_kwarg(self):
      # test with emcee as method keyword argument
      if not HAS_EMCEE:
          return True
      np.random.seed(123456)
      out = self.mini.minimize(
          method="emcee", nwalkers=50, steps=200, burn=50, thin=10
      )
      assert out.method == "emcee"
      assert out.nfev == 50 * 200
  
      check_paras(out.params, self.p_true, sig=3)
  
      out_unweighted = self.mini.minimize(
          method="emcee",
          nwalkers=50,
          steps=200,
          burn=50,
          thin=10,
          is_weighted=False,
      )
      assert out_unweighted.method == "emcee"
  
imports: import sys
  import unittest
  import numpy
  from numpy import pi
  from numpy.testing import assert_allclose, assert_almost_equal, assert_equal
  import pytest
  from scipy.optimize import rosen_der
  from uncertainties import ufloat
  from lmfit import Minimizer, Parameters, minimize
  from lmfit.lineshapes import gaussian
  from lmfit.minimizer import HAS_EMCEE, SCALAR_METHODS, MinimizerResult, coerce_float64
  from lmfit.models import SineModel
label_desc: Use image node_id 9 for calling the CommonMinimizerTest obj's underlying member method code with example usage: obj.test_emcee_method_kwarg() and returns: True