code: def test_report_leastsq_no_errorbars(fitresult):
      """Verify correct message when uncertainties could not be estimated."""
      # general warning is shown
      fitresult.errorbars = False
      report = fitresult.fit_report()
      assert "Warning: uncertainties could not be estimated:" in report
  
      # parameter is at initial value
      fitresult.params["amplitude"].value = 50.0
      report = fitresult.fit_report()
      assert "amplitude:  at initial value" in report
  
      # parameter is at boundary max/min
      fitresult.params["amplitude"].value = 100.0
      report = fitresult.fit_report()
      assert "amplitude:  at boundary" in report
  
      fitresult.params["amplitude"].value = 1.0
      report = fitresult.fit_report()
      assert "amplitude:  at boundary" 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 15 for calling a global function with example usage: test_report_leastsq_no_errorbars(fitresult) without return types