code: def test_ci_report_with_ndigits(confidence_interval, ndigits):
      """Verify output of CI report when specifying ndigits."""
      report_split = ci_report(
          confidence_interval, ndigits=ndigits
      ).split("\n")
      period_values = list(report_split[2].split()[2:])
      length = [len(val.split(".")[-1]) for val in period_values]
      assert np.all(np.equal(length, ndigits))
  
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 27 for calling a global function with example usage: test_ci_report_with_ndigits(confidence_interval, ndigits) without return types