code: def test_report_no_errorbars_no_numdifftools(fitresult):
      """Verify message without numdifftools and not using leastsq/least_squares."""
      fitresult.fit(method="nelder")
      lmfit.printfuncs.HAS_NUMDIFFTOOLS = False
      fitresult.errorbars = False
      report = fitresult.fit_report()
      msg = "this fitting method does not natively calculate uncertainties"
      assert msg in report
      assert "numdifftools" in report
  
imports: import numpy
  import pytest
  import lmfit
  from lmfit import Minimizer, Parameters, ci_report, conf_interval, fit_report, report_ci, report_fit
  from lmfit.lineshapes import gaussian
  from lmfit.models import GaussianModel
  from lmfit.printfuncs import alphanumeric_sort, correl_table, fitreport_html_table, getfloat_attr, gformat
label_desc: Use image node_id 16 for calling a global function with example usage: test_report_no_errorbars_no_numdifftools(fitresult) without return types