code: def test_non_default_loc_scale_mle_fit():
      data = np.array([1.01, 1.78, 1.78, 1.78, 1.88, 1.88, 1.88, 2.00])
      _check_loc_scale_mle_fit("uniform", data, [1.01, 0.99], 1e-3)
      _check_loc_scale_mle_fit("expon", data, [1.01, 0.73875], 1e-3)
  
imports: import os
  import numpy
  import numpy.testing
  from numpy.testing import assert_allclose, assert_equal
  import pytest
  from scipy import stats
  from scipy.optimize import differential_evolution
  from .test_continuous_basic import distcont
  from scipy.stats._distn_infrastructure import FitError
  from scipy.stats._distr_params import distdiscrete
  from scipy.stats import goodness_of_fit
label_desc: Use image node_id 4 for calling a global function with example usage: test_non_default_loc_scale_mle_fit() without return types