code: def test_pandas_Voigt_model():
      """Regression test for Series.real reported in GH Issues 727."""
      data = pandas.read_csv(
          os.path.join(
              os.path.dirname(__file__), "..", "examples", "peak.csv"
          )
      )
      model = lmfit.models.VoigtModel()
      params = model.make_params()
      fit = model.fit(data["y"], params, x=data["x"])
  
      assert fit.success
  
imports: import os
  import numpy
  import pytest
  import lmfit
label_desc: Use image node_id 2 for calling a global function with example usage: test_pandas_Voigt_model() without return types