code: def setup_class(cls):
      from statsmodels.datasets.star98 import load
  
      # from statsmodels.genmod.tests.results.results_glm import Star98
      data = load()
      data.exog = np.asarray(data.exog)
      data.endog = np.asarray(data.endog)
      exog = add_constant(data.exog, prepend=True)
      offset = np.ones(len(data.endog))
      exog_keep = exog[:, :-5]
      cls.mod2 = GLM(
          data.endog, exog_keep, family=family.Binomial(), offset=offset
      )
  
      cls.mod1 = GLM(
          data.endog, exog, family=family.Binomial(), offset=offset
      )
      cls.init()
  
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 1 for calling the TestGLMBinomialCountConstrained obj's underlying member method code with example usage: obj.setup_class(cls) without return types