code: def _check_loc_scale_mle_fit(name, data, desired, atol=None):
      d = getattr(stats, name)
      actual = d.fit(data)[-2:]
      assert_allclose(
          actual,
          desired,
          atol=atol,
          err_msg="poor mle fit of (loc, scale) in %s" % name,
      )
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_fit.py
imports: import os
  import numpy
  from numpy.testing import assert_allclose
  import pytest
  from scipy import stats
  from .test_continuous_basic import distcont
label_desc: Use image node_id 3 for calling a global function with example usage: _check_loc_scale_mle_fit(name, data, desired, atol) without return types