code: def test_gformat(test_input, expected):
      """Test gformat function."""
      output = gformat(test_input)
      assert output == expected
  
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 6 for calling a global function with example usage: test_gformat(test_input, expected) without return types