code: def test_params(self):
      res1 = self.res1
      res2 = self.res2
      assert_allclose(
          res1.params[self.idx_p_uc], res2.params, rtol=1e-10
      )
  
imports: import warnings
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  from statsmodels.genmod.families import family
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.regression.linear_model import OLS, WLS
  from statsmodels.tools.sm_exceptions import ValueWarning
  from statsmodels.tools.tools import add_constant
label_desc: Use image node_id 2 for calling the ConstrainedCompareMixin obj's underlying member method code with example usage: obj.test_params() without return types