code: def test_constraints_function_call():
      """Test a constraint with simple function call in Model class."""
  
      x = np.array(
          [
              1723,
              1773,
              1823,
              1523,
              1773,
              1033.03078,
              1042.98077,
              1047.90937,
              1053.95899,
              1057.94906,
              1063.13788,
              1075.74218,
              1086.03102,
          ]
      )
      y = np.array(
          [
              0.79934,
              -0.31876,
              -0.46852,
              0.05,
              -0.21,
              11.1708,
              10.31844,
              9.73069,
              9.21319,
              9.12457,
              9.05243,
              8.66407,
              8.29664,
          ]
      )
  
      def VFT(T, ninf=-3, A=5e3, T0=800):
          return ninf + A / (T - T0)
  
      vftModel = Model(VFT)
      vftModel.set_param_hint("D", vary=False, expr=r"A*log(10)/T0")
      result = vftModel.fit(y, T=x)
  
      assert 2600.0 < result.params["A"].value < 2650.0
      assert 7.0 < result.params["D"].value < 7.5
  
file_path: lmfit-py/tests/test_algebraic_constraint.py
imports: import numpy
  import pytest
  from lmfit import Minimizer, Model, Parameters
  from lmfit.lineshapes import gaussian, lorentzian
label_desc: Use image node_id 4 for calling a global function with example usage: test_constraints_function_call() and returns: unknown