code: def test_fitreports_init_values(fitresult):
      """Verify that initial values are displayed as expected."""
      fitresult.params["sigma"].init_value = None
      report_split = fitresult.fit_report().split("\n")
      indx = [
          i for i, val in enumerate(report_split) if "sigma" in val
      ][0]
      assert "(init = ?)" in report_split[indx]
  
      indx_center = [
          i for i, val in enumerate(report_split) if "center:" in val
      ][0]
      indx_amplitude = [
          i for i, val in enumerate(report_split) if "amplitude:" in val
      ][0]
      for indx, init_val in zip([indx_center, indx_amplitude], [5, 50]):
          assert f"(init = {init_val})" in report_split[indx]
  
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 8 for calling a global function with example usage: test_fitreports_init_values(fitresult) without return types