code: def test_fit_regularized(self):
      model = self.res1.model
      alpha = np.ones(len(self.res1.params))
  
      with warnings.catch_warnings():
          warnings.simplefilter("ignore", category=ConvergenceWarning)
          # This does not catch all Convergence warnings, why?
          res_reg = model.fit_regularized(alpha=alpha * 0.01, disp=0)
  
      assert_allclose(
          res_reg.params, self.res1.params, rtol=1e-3, atol=5e-3
      )
      assert_allclose(res_reg.bse, self.res1.bse, rtol=1e-3, atol=5e-3)
  
imports: import warnings
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  from statsmodels import datasets
  from statsmodels.tools.tools import add_constant
  from statsmodels.tools.testing import Holder
  from statsmodels.tools.sm_exceptions import ConvergenceWarning
  from statsmodels.distributions.discrete import truncatedpoisson, truncatednegbin
  from statsmodels.discrete.truncated_model import TruncatedLFPoisson, TruncatedLFNegativeBinomialP, HurdleCountModel
  from statsmodels.sandbox.regression.tests.test_gmm_poisson import DATA
  from .results.results_discrete import RandHIE
  from .results import results_truncated
  from .results import results_truncated_st
label_desc: Use image node_id 7 for calling the CheckResults obj's underlying member method code with example usage: obj.test_fit_regularized() without return types